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_REALTIME
CLOCK_MONOTONIC
CLOCK_BOOTTIME
CLOCK_REALTIME_ALARM
CLOCK_BOOTTIME_ALARM
Trait Implementations
impl Debug for ClockId
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for ClockId
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Ord for ClockId
fn cmp(&Self, other: &ClockId) -> $crate::cmp::Ordering
impl PartialOrd<ClockId> for ClockId
fn partial_cmp(&Self, other: &ClockId) -> $crate::option::Option<$crate::cmp::Ordering>
impl StructuralEq for ClockId
impl StructuralPartialEq for ClockId
Auto Trait Implementations
impl RefUnwindSafe for ClockId
impl UnwindSafe for ClockId
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T