Enum nix::sys::timerfd::ClockId[][src]

#[repr(i32)]pub enum ClockId {
    CLOCK_REALTIME,
    CLOCK_MONOTONIC,
    CLOCK_BOOTTIME,
    CLOCK_REALTIME_ALARM,
    CLOCK_BOOTTIME_ALARM,
}

The type of the clock used to mark the progress of the timer. For more details on each kind of clock, please refer to timerfd_create(2).

Variants

CLOCK_REALTIME
CLOCK_MONOTONIC
CLOCK_BOOTTIME
CLOCK_REALTIME_ALARM
CLOCK_BOOTTIME_ALARM

Trait Implementations

impl Clone for ClockId[src]

impl Copy for ClockId[src]

impl Debug for ClockId[src]

impl Eq for ClockId[src]

impl Hash for ClockId[src]

impl Ord for ClockId[src]

impl PartialEq<ClockId> for ClockId[src]

impl PartialOrd<ClockId> for ClockId[src]

impl StructuralEq for ClockId[src]

impl StructuralPartialEq for ClockId[src]

Auto Trait Implementations

impl RefUnwindSafe for ClockId

impl Send for ClockId

impl Sync for ClockId

impl Unpin for ClockId

impl UnwindSafe for ClockId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.