pub fn last_response(&self) -> Option<DateTime32> {
        match self {
            NewInitial { .. } => None,
            NewGossiped { .. } => None,
            NewAlternate { .. } => None,
            NewLocal { .. } => None,
            UpdateAttempt { .. } => None,
            // If there is a large delay applying this change, then:
            // - the peer might stay in the `AttemptPending` state for longer,
            // - we might send outdated last seen times to our peers, and
            // - the peer will appear to be live for longer, delaying future
            //   reconnection attempts.
            UpdateResponded { .. } => Some(DateTime32::now()),
            UpdateFailed { .. } => None,
        }
    }
/// Return the last response for this change, if available.
Return the last response for this change, if available.
Return the last response for this change if available .
pub fn last_response(&self) -> Option<DateTime32> {
        match self {
            NewInitial { .. } => None,
            NewGossiped { .. } => None,
            NewAlternate { .. } => None,
            NewLocal { .. } => None,
            UpdateAttempt { .. } => None,
            // If there is a large delay applying this change, then:
            // - the peer might stay in the `AttemptPending` state for longer,
            // - we might send outdated last seen times to our peers, and
            // - the peer will appear to be live for longer, delaying future
            //   reconnection attempts.
            UpdateResponded { .. } => Some(DateTime32::now()),
            UpdateFailed { .. } => None,
        }
    }
pub fn last_response ( & self ) -> Option < DateTime32 > { match self { NewInitial { .. } => None , NewGossiped { .. } => None , NewAlternate { .. } => None , NewLocal { .. } => None , UpdateAttempt { .. } => None , // If there is a large delay applying this change, then: // - the peer might stay in the `AttemptPending` state for longer, // - we might send outdated last seen times to our peers, and // - the peer will appear to be live for longer, delaying future //   reconnection attempts. UpdateResponded { .. } => Some ( DateTime32 :: now ( ) ) , UpdateFailed { .. } => None , } }
Return the last response for this change, if available.
Return the last response for this change if available .
&self