Enum libp2p::core::connection::SubstreamEndpoint [−][src]
pub enum SubstreamEndpoint<TDialInfo> { Dialer(TDialInfo), Listener, }
Endpoint for a received substream.
Variants
Implementations
impl<TDialInfo> SubstreamEndpoint<TDialInfo>
[src]
impl<TDialInfo> SubstreamEndpoint<TDialInfo>
[src]Trait Implementations
impl<TDialInfo> Clone for SubstreamEndpoint<TDialInfo> where
TDialInfo: Clone,
[src]
impl<TDialInfo> Clone for SubstreamEndpoint<TDialInfo> where
TDialInfo: Clone,
[src]pub fn clone(&self) -> SubstreamEndpoint<TDialInfo>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<TDialInfo> Debug for SubstreamEndpoint<TDialInfo> where
TDialInfo: Debug,
[src]
impl<TDialInfo> Debug for SubstreamEndpoint<TDialInfo> where
TDialInfo: Debug,
[src]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]pub fn eq(&self, other: &SubstreamEndpoint<TDialInfo>) -> bool
[src]
pub fn ne(&self, other: &SubstreamEndpoint<TDialInfo>) -> bool
[src]
impl<TDialInfo> Copy for SubstreamEndpoint<TDialInfo> where
TDialInfo: Copy,
[src]
TDialInfo: Copy,
impl<TDialInfo> Eq for SubstreamEndpoint<TDialInfo> where
TDialInfo: Eq,
[src]
TDialInfo: Eq,
impl<TDialInfo> StructuralEq for SubstreamEndpoint<TDialInfo>
[src]
impl<TDialInfo> StructuralPartialEq for SubstreamEndpoint<TDialInfo>
[src]
Auto Trait Implementations
impl<TDialInfo> RefUnwindSafe for SubstreamEndpoint<TDialInfo> where
TDialInfo: RefUnwindSafe,
TDialInfo: RefUnwindSafe,
impl<TDialInfo> Send for SubstreamEndpoint<TDialInfo> where
TDialInfo: Send,
TDialInfo: Send,
impl<TDialInfo> Sync for SubstreamEndpoint<TDialInfo> where
TDialInfo: Sync,
TDialInfo: Sync,
impl<TDialInfo> Unpin for SubstreamEndpoint<TDialInfo> where
TDialInfo: Unpin,
TDialInfo: Unpin,
impl<TDialInfo> UnwindSafe for SubstreamEndpoint<TDialInfo> where
TDialInfo: UnwindSafe,
TDialInfo: UnwindSafe,