Enum network::peer_manager::PeerManagerRequest [−][src]
pub enum PeerManagerRequest {
SendRpc(PeerId, OutboundRpcRequest),
SendDirectSend(PeerId, Message),
}Expand description
Request received by PeerManager from upstream actors.
Variants
SendRpc(PeerId, OutboundRpcRequest)Send an RPC request to a remote peer.
Tuple Fields of SendRpc
0: PeerId1: OutboundRpcRequestSendDirectSend(PeerId, Message)Fire-and-forget style message send to a remote peer.
Tuple Fields of SendDirectSend
0: PeerId1: MessageTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PeerManagerRequest
impl Send for PeerManagerRequest
impl Sync for PeerManagerRequest
impl Unpin for PeerManagerRequest
impl !UnwindSafe for PeerManagerRequest
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
Generates a hash used only for tests.