Skip to main content

TimerQueue

Trait TimerQueue 

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

Timer queue

Required Methods§

Source

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§