Type Alias zx::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.