Enum libp2p_core::connection::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 Endpointimpl UnwindSafe for EndpointBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V