Enum network::peer_manager::ConnectionRequest
source · pub enum ConnectionRequest {
DialPeer(PeerId, NetworkAddress, Sender<Result<(), PeerManagerError>>),
DisconnectPeer(PeerId, Sender<Result<(), PeerManagerError>>),
}
Variants§
DialPeer(PeerId, NetworkAddress, Sender<Result<(), PeerManagerError>>)
DisconnectPeer(PeerId, Sender<Result<(), PeerManagerError>>)
Trait Implementations§
source§impl Debug for ConnectionRequest
impl Debug for ConnectionRequest
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionRequest
impl Send for ConnectionRequest
impl Sync for ConnectionRequest
impl Unpin for ConnectionRequest
impl !UnwindSafe for ConnectionRequest
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.