Searched refs:Timer (Results 1 – 1 of 1) sorted by relevance
205 enum Timer { enum222 impl Timer { impl223 fn new() -> Timer { in new()224 Timer::Idle { in new()231 Timer::Idle { in should_keep_alive()240 Timer::Retransmit { expires_at, delay } if timestamp >= expires_at => { in should_retransmit()243 Timer::FastRetransmit => Some(Duration::from_millis(0)), in should_retransmit()250 Timer::Close { expires_at } if timestamp >= expires_at => true, in should_close()257 Timer::Idle { in poll_at()260 Timer::Idle { in poll_at()[all …]