pub fn pending_reconnection_addr(&mut self, addr: &SocketAddr) -> bool {
        let meta_addr = self.get(addr);

        let _guard = self.span.enter();
        match meta_addr {
            None => false,
            Some(peer) => peer.last_connection_state == PeerAddrState::AttemptPending,
        }
    }
/// Returns true if the given [`SocketAddr`] is pending a reconnection
/// attempt.
Returns true if the given [`SocketAddr`] is pending a reconnection
attempt.
Returns true if the given [ ` SocketAddr ` ] is pending a reconnection attempt .
pub fn pending_reconnection_addr(&mut self, addr: &SocketAddr) -> bool {
        let meta_addr = self.get(addr);
        let _guard = self.span.enter();
        match meta_addr {
            None => false,
            Some(peer) => peer.last_connection_state == PeerAddrState::AttemptPending,
        }
    }
pub fn pending_reconnection_addr ( & mut self , addr : & SocketAddr ) -> bool { let meta_addr = self . get ( addr ) ; let _guard = self . span . enter ( ) ; match meta_addr { None => false , Some ( peer ) => peer . last_connection_state == PeerAddrState :: AttemptPending , } }
Returns true if the given [`SocketAddr`] is pending a reconnection
attempt.
Returns true if the given [ ` SocketAddr ` ] is pending a reconnection attempt .
&mut self
addr
&SocketAddr