[−][src]Enum queen_io::sys::timerfd::SetTimeFlags
Variants
Flags to timerfd_settime(2)
.
The default is zero, i. e. all bits unset.
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.
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]
fn clone(&self) -> SetTimeFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SetTimeFlags
[src]
impl Eq for SetTimeFlags
[src]
impl PartialEq<SetTimeFlags> for SetTimeFlags
[src]
fn eq(&self, other: &SetTimeFlags) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SetTimeFlags
[src]
impl StructuralPartialEq for SetTimeFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for SetTimeFlags
impl Send for SetTimeFlags
impl Sync for SetTimeFlags
impl Unpin for SetTimeFlags
impl UnwindSafe for SetTimeFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,