Enum libp2p_core::connection::SubstreamEndpoint
source · [−]pub enum SubstreamEndpoint<TDialInfo> {
Dialer(TDialInfo),
Listener,
}Expand description
Endpoint for a received substream.
Variants
Dialer(TDialInfo)
Listener
Implementations
Trait Implementations
impl<TDialInfo: PartialEq> PartialEq<SubstreamEndpoint<TDialInfo>> for SubstreamEndpoint<TDialInfo>
impl<TDialInfo: PartialEq> PartialEq<SubstreamEndpoint<TDialInfo>> for SubstreamEndpoint<TDialInfo>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<TDialInfo> RefUnwindSafe for SubstreamEndpoint<TDialInfo> where
TDialInfo: RefUnwindSafe,
impl<TDialInfo> Send for SubstreamEndpoint<TDialInfo> where
TDialInfo: Send,
impl<TDialInfo> Sync for SubstreamEndpoint<TDialInfo> where
TDialInfo: Sync,
impl<TDialInfo> Unpin for SubstreamEndpoint<TDialInfo> where
TDialInfo: Unpin,
impl<TDialInfo> UnwindSafe for SubstreamEndpoint<TDialInfo> where
TDialInfo: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more