Enum libp2p::core::Endpoint [−][src]
pub enum Endpoint { Dialer, Listener, }
Expand description
The endpoint roles associated with a peer-to-peer communication channel.
Variants
The socket comes from a dialer.
The socket comes from a listener.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
pub fn vzip(self) -> V