Struct libp2p_core::network::peer::DialingAttemptIter [−][src]
pub struct DialingAttemptIter<'a, THandler: IntoConnectionHandler, TTrans: Transport> { /* fields omitted */ }
Expand description
An iterator over the ongoing dialing attempts to a peer.
Implementations
impl<'a, THandler: IntoConnectionHandler, TTrans: Transport> DialingAttemptIter<'a, THandler, TTrans>
impl<'a, THandler: IntoConnectionHandler, TTrans: Transport> DialingAttemptIter<'a, THandler, TTrans>
Obtains the next dialing connection, if any.
Returns the first connection, if any, consuming the iterator.