pub fn peer_addr_state(&self) -> PeerAddrState {
        match self {
            NewInitial { .. } => NeverAttemptedGossiped,
            NewGossiped { .. } => NeverAttemptedGossiped,
            NewAlternate { .. } => NeverAttemptedAlternate,
            // local listeners get sanitized, so the state doesn't matter here
            NewLocal { .. } => NeverAttemptedGossiped,
            UpdateAttempt { .. } => AttemptPending,
            UpdateResponded { .. } => Responded,
            UpdateFailed { .. } => Failed,
        }
    }
/// Return the peer connection state for this change.
Return the peer connection state for this change.
Return the peer connection state for this change .
pub fn peer_addr_state(&self) -> PeerAddrState {
        match self {
            NewInitial { .. } => NeverAttemptedGossiped,
            NewGossiped { .. } => NeverAttemptedGossiped,
            NewAlternate { .. } => NeverAttemptedAlternate,
            // local listeners get sanitized, so the state doesn't matter here
            NewLocal { .. } => NeverAttemptedGossiped,
            UpdateAttempt { .. } => AttemptPending,
            UpdateResponded { .. } => Responded,
            UpdateFailed { .. } => Failed,
        }
    }
pub fn peer_addr_state ( & self ) -> PeerAddrState { match self { NewInitial { .. } => NeverAttemptedGossiped , NewGossiped { .. } => NeverAttemptedGossiped , NewAlternate { .. } => NeverAttemptedAlternate , // local listeners get sanitized, so the state doesn't matter here NewLocal { .. } => NeverAttemptedGossiped , UpdateAttempt { .. } => AttemptPending , UpdateResponded { .. } => Responded , UpdateFailed { .. } => Failed , } }
Return the peer connection state for this change.
Return the peer connection state for this change .
&self