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