pub fn dialing_peers(&self) -> impl Iterator<Item = &PeerId> {
        self.pool
            .iter_pending_info()
            .filter(|(_, endpoint, _)| matches!(endpoint, PendingPoint::Dialer { .. }))
            .filter_map(|(_, _, peer)| peer.as_ref())
    }
/// Returns a list of all the peers to whom a new outgoing connection
/// is currently being established.
Returns a list of all the peers to whom a new outgoing connection
is currently being established.
Returns a list of all the peers to whom a new outgoing connection is currently being established .
pub fn dialing_peers(&self) -> impl Iterator<Item = &PeerId> {
        self.pool
            .iter_pending_info()
            .filter(|(_, endpoint, _)| matches!(endpoint, PendingPoint::Dialer { .. }))
            .filter_map(|(_, _, peer)| peer.as_ref())
    }
pub fn dialing_peers ( & self ) -> impl Iterator < Item = & PeerId > { self . pool . iter_pending_info ( ) . filter ( | ( _ , endpoint , _ ) | matches ! ( endpoint PendingPoint Dialer { } ) ) . filter_map ( | ( _ , _ , peer ) | peer . as_ref ( ) ) }
Returns a list of all the peers to whom a new outgoing connection
is currently being established.
Returns a list of all the peers to whom a new outgoing connection is currently being established .
&self