Enum network::peer::PeerRequest [−][src]
pub enum PeerRequest {
SendRpc(OutboundRpcRequest),
SendDirectSend(Message),
}Expand description
Requests Peer receives from the PeerManager.
Variants
SendRpc(OutboundRpcRequest)Send an RPC request to peer.
Tuple Fields of SendRpc
SendDirectSend(Message)Fire-and-forget style message send to peer.
Tuple Fields of SendDirectSend
0: MessageTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PeerRequest
impl Send for PeerRequest
impl Sync for PeerRequest
impl Unpin for PeerRequest
impl !UnwindSafe for PeerRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self