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> 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
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V