#[repr(C)]pub enum ClockStatus {
Unknown = 0,
Synchronized = 1,
FreeRunning = 2,
Disrupted = 3,
}
Expand description
Definition of mutually exclusive clock status exposed to the reader.
Variants§
Unknown = 0
The status of the clock is unknown. In this clock status, error-bounded timestamps should not be trusted.
Synchronized = 1
The clock is kept accurate by the synchronization daemon. In this clock status, error-bounded timestamps can be trusted.
FreeRunning = 2
The clock is free running and not updated by the synchronization daemon. In this clock status, error-bounded timestamps can be trusted.
Disrupted = 3
The clock has been disrupted and the accuracy of time cannot be bounded. In this clock status, error-bounded timestamps should not be trusted.
Trait Implementations§
Source§impl Clone for ClockStatus
impl Clone for ClockStatus
Source§fn clone(&self) -> ClockStatus
fn clone(&self) -> ClockStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClockStatus
impl Debug for ClockStatus
Source§impl PartialEq for ClockStatus
impl PartialEq for ClockStatus
impl Copy for ClockStatus
impl StructuralPartialEq for ClockStatus
Auto Trait Implementations§
impl Freeze for ClockStatus
impl RefUnwindSafe for ClockStatus
impl Send for ClockStatus
impl Sync for ClockStatus
impl Unpin for ClockStatus
impl UnwindSafe for ClockStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more