zx

Type Alias BootInstant

Source
pub type BootInstant = Instant<BootTimeline>;
Expand description

A timestamp from the boot clock. Advances while the system is suspended.

Aliased Type§

struct BootInstant(/* private fields */);

Implementations§

Source§

impl BootInstant

Source

pub fn get() -> Self

Get the current boot time which advances during system suspend.

Source

pub fn after(duration: BootDuration) -> Self

Compute a deadline for the time in the future that is the given Duration away.