pub fn maybe_connected_peers(&'_ self) -> impl Iterator<Item = MetaAddr> + '_ {
        let _guard = self.span.enter();

        self.by_addr
            .values()
            .filter(move |peer| self.maybe_connected_addr(&peer.addr))
            .cloned()
    }
/// Return an iterator over peers that might be connected, in arbitrary
/// order.
Return an iterator over peers that might be connected, in arbitrary
order.
Return an iterator over peers that might be connected in arbitrary order .
pub fn maybe_connected_peers(&'_ self) -> impl Iterator<Item = MetaAddr> + '_ {
        let _guard = self.span.enter();
        self.by_addr
            .values()
            .filter(move |peer| self.maybe_connected_addr(&peer.addr))
            .cloned()
    }
pub fn maybe_connected_peers ( & ' _ self ) -> impl Iterator < Item = MetaAddr > + ' _ { let _guard = self . span . enter ( ) ; self . by_addr . values ( ) . filter ( move | peer | self . maybe_connected_addr ( & peer . addr ) ) . cloned ( ) }
Return an iterator over peers that might be connected, in arbitrary
order.
Return an iterator over peers that might be connected in arbitrary order .
&'_ self