Searched refs:last_sent (Results 1 – 4 of 4) sorted by relevance
49 pub(crate) last_sent: AtomicU64, field79 last_sent: AtomicU64::new(0), in default()158 fn last_sent(&self) -> SystemTime { in last_sent() method159 UNIX_EPOCH.add(Duration::from_nanos(self.last_sent.load(Ordering::SeqCst))) in last_sent()324 self.last_sent.store(d.as_nanos() as u64, Ordering::SeqCst); in set_last_sent()
116 assert_eq!(candidate.last_sent(), UNIX_EPOCH); in test_candidate_last_sent()121 assert_eq!(candidate.last_sent(), now); in test_candidate_last_sent()
60 fn last_sent(&self) -> SystemTime; in last_sent() method
494 let last_sent = SystemTime::now() in check_keepalive() localVariable495 .duration_since(local.last_sent()) in check_keepalive()503 && ((last_sent > self.keepalive_interval) in check_keepalive()