[][src]Enum queen_io::sys::timerfd::SetTimeFlags

pub enum SetTimeFlags {
    Default,
    Abstime,
    TimerCancelOnSet,
}

Variants

Default

Flags to timerfd_settime(2).

The default is zero, i. e. all bits unset.

Abstime

Interpret new_value.it_value as an absolute value on the timer's clock. The timer will expire when the value of the timer's clock reaches the value specified in new_value.it_value.

TimerCancelOnSet

If this flag is specified along with TFD_TIMER_ABSTIME and the clock for this timer is CLOCK_REALTIME or CLOCK_REALTIME_ALARM, then mark this timer as cancelable if the real-time clock undergoes a discontinuous change (settimeofday(2), clock_settime(2), or similar). When such changes occur, a current or future read(2) from the file descriptor will fail with the error ECANCELED.

TFD_TIMER_CANCEL_ON_SET is useless without TFD_TIMER_ABSTIME set, cf. fs/timerfd.c. Thus TimerCancelOnSet`` implies Abstime`.

Trait Implementations

impl Clone for SetTimeFlags[src]

impl Debug for SetTimeFlags[src]

impl Eq for SetTimeFlags[src]

impl PartialEq<SetTimeFlags> for SetTimeFlags[src]

impl StructuralEq for SetTimeFlags[src]

impl StructuralPartialEq for SetTimeFlags[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.