Trait fuchsia_async::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 BootInstant

source§

impl WakeupTime for MonotonicInstant

Implementors§