pub trait DurationExt {
    // Required method
    fn after_now(self) -> Time;
}
Expand description

An extension trait to provide after_now on zx::Duration.

Required Methods§

source

fn after_now(self) -> Time

Return a Time which is a Duration after the current time. duration.after_now() is equivalent to Time::after(duration).

This method requires that an executor has been set up.

Implementations on Foreign Types§

source§

impl DurationExt for Duration

Implementors§

source§

impl DurationExt for fuchsia_async::Duration