Type Alias zx::MonotonicDuration

source ·
pub type MonotonicDuration = Duration<MonotonicTimeline>;
Expand description

A duration on the monotonic timeline.

Aliased Type§

struct MonotonicDuration(/* private fields */);

Implementations§

source§

impl MonotonicDuration

source

pub fn sleep(self)

Sleep for the given amount of time.