Enum magenta::ClockId
[−]
[src]
#[repr(u32)]pub enum ClockId { Monotonic, UTC, Thread, }
An identifier to select a particular clock. See mx_time_get for more information about the possible values.
Variants
Monotonic
The number of nanoseconds since the system was powered on. Corresponds to
MX_CLOCK_MONOTONIC
.
UTC
The number of wall clock nanoseconds since the Unix epoch (midnight on January 1 1970) in UTC. Corresponds to MX_CLOCK_UTC.
Thread
The number of nanoseconds the current thread has been running for. Corresponds to MX_CLOCK_THREAD.
Trait Implementations
impl Debug for ClockId
[src]
impl Copy for ClockId
[src]
impl Clone for ClockId
[src]
fn clone(&self) -> ClockId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more