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 Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations
Mutably borrows from an owned value. Read more