pub trait WakeupTime {
// Required method
fn into_timer(self) -> Timer ⓘ;
}Expand description
The time when a Timer should wakeup.
Required Methods§
Sourcefn into_timer(self) -> Timer ⓘ
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
Available on Fuchsia only.
impl WakeupTime for Duration
Available on Fuchsia only.
fn into_timer(self) -> Timer ⓘ
Source§impl WakeupTime for Instant
impl WakeupTime for Instant
fn into_timer(self) -> Timer ⓘ
Source§impl WakeupTime for BootDuration
Available on Fuchsia only.
impl WakeupTime for BootDuration
Available on Fuchsia only.
fn into_timer(self) -> Timer ⓘ
Source§impl WakeupTime for BootInstant
impl WakeupTime for BootInstant
fn into_timer(self) -> Timer ⓘ
Source§impl WakeupTime for MonotonicInstant
impl WakeupTime for MonotonicInstant
fn into_timer(self) -> Timer ⓘ
Implementors§
impl WakeupTime for fuchsia_async::BootInstant
impl WakeupTime for fuchsia_async::MonotonicInstant
impl WakeupTime for MonotonicDuration
Available on Fuchsia only.