pub trait TimerQueue {
// Required method
fn schedule_wake(&'static self, at: u64, waker: &Waker);
}
Expand description
Timer queue
Required Methods§
Sourcefn schedule_wake(&'static self, at: u64, waker: &Waker)
fn schedule_wake(&'static self, at: u64, waker: &Waker)
Schedules a waker in the queue to be awoken at moment at
.
If this moment is in the past, the waker might be awoken immediately.