pub fn has_expired(&self) -> bool {
        match self.expiry {
            None => false,
            Some(t) => t <= Instant::now(),
        }
    }
/// Check if this connection needs to be scheduled for forceful termination, due to its
/// kill timer having expired.
Check if this connection needs to be scheduled for forceful termination, due to its
kill timer having expired.
Check if this connection needs to be scheduled for forceful termination due to its kill timer having expired .
pub fn has_expired(&self) -> bool {
        match self.expiry {
            None => false,
            Some(t) => t <= Instant::now(),
        }
    }
pub fn has_expired ( & self ) -> bool { match self . expiry { None => false , Some ( t ) => t <= Instant :: now ( ) , } }
Check if this connection needs to be scheduled for forceful termination, due to its
kill timer having expired.
Check if this connection needs to be scheduled for forceful termination due to its kill timer having expired .
&self
&self