Enum libp2p::core::connection::SubstreamEndpoint [−][src]
pub enum SubstreamEndpoint<TDialInfo> {
Dialer(TDialInfo),
Listener,
}Expand description
Endpoint for a received substream.
Variants
Implementations
Trait Implementations
impl<TDialInfo> PartialEq<SubstreamEndpoint<TDialInfo>> for SubstreamEndpoint<TDialInfo> where
TDialInfo: PartialEq<TDialInfo>, [src]
impl<TDialInfo> PartialEq<SubstreamEndpoint<TDialInfo>> for SubstreamEndpoint<TDialInfo> where
TDialInfo: PartialEq<TDialInfo>, [src]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
pub fn vzip(self) -> V