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

The number of nanoseconds since the system was powered on. Corresponds to MX_CLOCK_MONOTONIC.

The number of wall clock nanoseconds since the Unix epoch (midnight on January 1 1970) in UTC. Corresponds to MX_CLOCK_UTC.

The number of nanoseconds the current thread has been running for. Corresponds to MX_CLOCK_THREAD.

Trait Implementations

impl Debug for ClockId
[src]

Formats the value using the given formatter.

impl Copy for ClockId
[src]

impl Clone for ClockId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ClockId
[src]

impl PartialEq for ClockId
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.