Enum nix::sys::timerfd::ClockId
#[repr(i32)]
#[non_exhaustive]
pub enum ClockId {
CLOCK_REALTIME,
CLOCK_MONOTONIC,
CLOCK_BOOTTIME,
CLOCK_REALTIME_ALARM,
CLOCK_BOOTTIME_ALARM,
}Documentation
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_REALTIMECLOCK_MONOTONICCLOCK_BOOTTIMECLOCK_REALTIME_ALARMCLOCK_BOOTTIME_ALARMTrait Implementations
impl Debug for ClockId
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for ClockId
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for ClockId
fn cmp(&Self, other: &ClockId) -> $crate::cmp::Orderingimpl PartialOrd<ClockId> for ClockId
fn partial_cmp(&Self, other: &ClockId) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for ClockIdimpl StructuralPartialEq for ClockIdAuto Trait Implementations
impl RefUnwindSafe for ClockIdimpl UnwindSafe for ClockIdBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T