Struct libp2p::core::network::peer::DisconnectedPeer[][src]

pub struct DisconnectedPeer<'a, TTrans, THandler> where
    TTrans: Transport,
    THandler: IntoConnectionHandler
{ /* fields omitted */ }
Expand description

The representation of a peer to whom the Network has currently neither an established connection, nor an ongoing dialing attempt initiated by the local peer.

Implementations

Returns the DisconnectedPeer into a Peer.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.