Enum network::peer_manager::PeerManagerRequest
source · 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.
SendDirectSend(PeerId, Message)
Fire-and-forget style message send to a remote peer.
Trait Implementations§
source§impl Debug for PeerManagerRequest
impl Debug for PeerManagerRequest
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§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> Serialize for Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.