pub trait TimerQueue {
    // Required method
    fn schedule_wake(&'static self, at: Instant, waker: &Waker);
}
Expand description

Timer queue

Required Methods§

source

fn schedule_wake(&'static self, at: Instant, 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.

Implementors§