Home
last modified time | relevance | path

Searched refs:Timer (Results 1 – 1 of 1) sorted by relevance

/smoltcp-0.9.1/src/socket/
Dtcp.rs205 enum Timer { enum
222 impl Timer { impl
223 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 …]