Enum libp2p::core::connection::Endpoint [−][src]
pub enum Endpoint {
Dialer,
Listener,
}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
impl Endpoint[src]
impl Endpoint[src]Trait Implementations
impl<'_> From<&'_ ConnectedPoint> for Endpoint[src]
impl<'_> From<&'_ ConnectedPoint> for Endpoint[src]pub fn from(endpoint: &ConnectedPoint) -> Endpoint[src]
impl From<ConnectedPoint> for Endpoint[src]
impl From<ConnectedPoint> for Endpoint[src]