Enum cloudabi::clockid [] [src]

#[repr(u32)]
pub enum clockid { MONOTONIC, PROCESS_CPUTIME_ID, REALTIME, THREAD_CPUTIME_ID, // some variants omitted }

Identifiers for clocks.

Variants

The system-wide monotonic clock, which is defined as a clock measuring real time, whose value cannot be adjusted and which cannot have negative clock jumps.

The epoch of this clock is undefined. The absolute time value of this clock therefore has no meaning.

The CPU-time clock associated with the current process.

The system-wide clock measuring real time. Time value zero corresponds with 1970-01-01T00:00:00Z.

The CPU-time clock associated with the current thread.

Trait Implementations

impl Copy for clockid
[src]

impl Clone for clockid
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for clockid
[src]

impl PartialEq for clockid
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Hash for clockid
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for clockid
[src]

[src]

Formats the value using the given formatter.