Enum cloudabi::clockid
[−]
[src]
#[repr(u32)]pub enum clockid { MONOTONIC, PROCESS_CPUTIME_ID, REALTIME, THREAD_CPUTIME_ID, // some variants omitted }
Identifiers for clocks.
Variants
MONOTONIC
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.
PROCESS_CPUTIME_ID
The CPU-time clock associated with the current process.
REALTIME
The system-wide clock measuring real time. Time value zero corresponds with 1970-01-01T00:00:00Z.
THREAD_CPUTIME_ID
The CPU-time clock associated with the current thread.
Trait Implementations
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
impl Eq for clockid
[src]
impl PartialEq for clockid
[src]
fn eq(&self, __arg_0: &clockid) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Hash for clockid
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more