Struct libp2p_core::network::peer::DialingAttempt[][src]

pub struct DialingAttempt<'a, THandler: IntoConnectionHandler> { /* fields omitted */ }
Expand description

A DialingAttempt is a pending outgoing connection attempt to a known / expected remote peer ID.

Implementations

Returns the ID of the current connection attempt.

Returns the (expected) peer ID of the dialing attempt.

Aborts the dialing attempt.

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.