fuchsia_async

Trait WakeupTime

Source
pub trait WakeupTime {
    // Required method
    fn into_timer(self) -> Timer ;
}
Expand description

The time when a Timer should wakeup.

Required Methods§

Source

fn into_timer(self) -> Timer

Create a timer based on this time.

This is allowed to be inaccurate, but the inaccuracy must make the wakeup time later, never earlier.

Implementations on Foreign Types§

Source§

impl WakeupTime for Duration

Source§

impl WakeupTime for Instant

Source§

impl WakeupTime for BootDuration

Source§

impl WakeupTime for BootInstant

Source§

impl WakeupTime for MonotonicInstant

Implementors§