embassy-time-queue-driver

Crates

git

Versions

default

Flavors

embassy_time_queue_driver

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.

Implementors§