fuchsia_async

Type Alias MonotonicDuration

Source
pub type MonotonicDuration = Duration<MonotonicTimeline>;
Expand description

A duration on the monotonic timeline.

Aliased Type§

struct MonotonicDuration(/* private fields */);

Trait Implementations§

Source§

impl Add<MonotonicInstant> for MonotonicDuration

Source§

type Output = MonotonicInstant

The resulting type after applying the + operator.
Source§

fn add(self, t: MonotonicInstant) -> MonotonicInstant

Performs the + operation. Read more
Source§

impl DurationExt for MonotonicDuration

Source§

fn after_now(self) -> MonotonicInstant

Return a MonotonicInstant which is a MonotonicDuration after the current time. duration.after_now() is equivalent to MonotonicInstant::after(duration). Read more
Source§

impl WakeupTime for MonotonicDuration

Source§

fn into_timer(self) -> Timer

Create a timer based on this time. Read more