pub fn last_failure(&self) -> Option<Instant> {
        match self {
            NewInitial { .. } => None,
            NewGossiped { .. } => None,
            NewAlternate { .. } => None,
            NewLocal { .. } => None,
            UpdateAttempt { .. } => None,
            UpdateResponded { .. } => None,
            // If there is a large delay applying this change, then:
            // - the peer might stay in the `AttemptPending` or `Responded`
            //   states for longer, and
            // - the peer will appear to be used for longer, delaying future
            //   reconnection attempts.
            UpdateFailed { .. } => Some(Instant::now()),
        }
    }
/// Return the last failure for this change, if available.
Return the last failure for this change, if available.
Return the last failure for this change if available .
pub fn last_failure(&self) -> Option<Instant> {
        match self {
            NewInitial { .. } => None,
            NewGossiped { .. } => None,
            NewAlternate { .. } => None,
            NewLocal { .. } => None,
            UpdateAttempt { .. } => None,
            UpdateResponded { .. } => None,
            // If there is a large delay applying this change, then:
            // - the peer might stay in the `AttemptPending` or `Responded`
            //   states for longer, and
            // - the peer will appear to be used for longer, delaying future
            //   reconnection attempts.
            UpdateFailed { .. } => Some(Instant::now()),
        }
    }
pub fn last_failure ( & self ) -> Option < Instant > { match self { NewInitial { .. } => None , NewGossiped { .. } => None , NewAlternate { .. } => None , NewLocal { .. } => None , UpdateAttempt { .. } => None , UpdateResponded { .. } => None , // If there is a large delay applying this change, then: // - the peer might stay in the `AttemptPending` or `Responded` //   states for longer, and // - the peer will appear to be used for longer, delaying future //   reconnection attempts. UpdateFailed { .. } => Some ( Instant :: now ( ) ) , } }
Return the last failure for this change, if available.
Return the last failure for this change if available .
&self