pub fn maybe_connected_peers(
        &'_ self,
        instant_now: Instant,
        chrono_now: chrono::DateTime<Utc>,
    ) -> impl Iterator<Item = MetaAddr> + DoubleEndedIterator + '_ {
        let _guard = self.span.enter();

        self.by_addr
            .descending_values()
            .filter(move |peer| !peer.is_ready_for_connection_attempt(instant_now, chrono_now))
            .cloned()
    }
/// Return an iterator over peers that might be connected,
/// in reconnection attempt order.
Return an iterator over peers that might be connected,
in reconnection attempt order.
Return an iterator over peers that might be connected in reconnection attempt order .
pub fn maybe_connected_peers(
        &'_ self,
        instant_now: Instant,
        chrono_now: chrono::DateTime<Utc>,
    ) -> impl Iterator<Item = MetaAddr> + DoubleEndedIterator + '_ {
        let _guard = self.span.enter();
        self.by_addr
            .descending_values()
            .filter(move |peer| !peer.is_ready_for_connection_attempt(instant_now, chrono_now))
            .cloned()
    }
pub fn maybe_connected_peers ( & ' _ self , instant_now : Instant , chrono_now : chrono :: DateTime < Utc > , ) -> impl Iterator < Item = MetaAddr > + DoubleEndedIterator + ' _ { let _guard = self . span . enter ( ) ; self . by_addr . descending_values ( ) . filter ( move | peer | ! peer . is_ready_for_connection_attempt ( instant_now , chrono_now ) ) . cloned ( ) }
Return an iterator over peers that might be connected,
in reconnection attempt order.
Return an iterator over peers that might be connected in reconnection attempt order .
&'_ self
instant_now
Instant
chrono_now
chrono::DateTime<Utc>