Struct libp2p_core::connection::EstablishedConnectionIter[][src]

pub struct EstablishedConnectionIter<'a, I, TInEvent> { /* fields omitted */ }
Expand description

An iterator over established connections in a pool.

Implementations

Obtains the next connection, if any.

Turns the iterator into an iterator over just the connection IDs.

Returns the first connection, if any, consuming the iterator.

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.