Module hotshot_types::request_response
source · Expand description
Types for the request/response implementations. This module incorporates all of the shared types for all of the network backends.
Structs§
- Wraps a oneshot channel for responding to requests. This is a specialized version of the libp2p request-response
ResponseChannel
which accepts any generic response. - A signed request for a proposal.
- Request for Consenus data
- Response for some VID data that we already collected
Type Aliases§
- Type alias for the channel that we receive requests from the network on.
- Locked Option of a receiver for moving the value out of the option. This type takes any
Response
type depending on the underlying network impl.