Skip to main content

next_timer

Function next_timer 

Source
pub fn next_timer() -> Option<Instant>
Expand description

When the earliest running timer is due, for the platform to wake then. None means no timer runs and nothing needs waking. Timers whose context is gone are freed first, so they never wake the loop.