pub enum ClockStatusSummary {
Normal,
DriftedBackward {
seconds: i64,
},
JumpedForward {
seconds: i64,
},
NoPreviousState,
Unknown {
reason: String,
},
}Expand description
Summary of clock status
Variants§
Normal
Clock appears normal
DriftedBackward
Clock drifted backward (potential manipulation)
JumpedForward
Clock jumped forward significantly
NoPreviousState
No previous state available for comparison
Unknown
Unable to determine clock status
Trait Implementations§
Source§impl Clone for ClockStatusSummary
impl Clone for ClockStatusSummary
Source§fn clone(&self) -> ClockStatusSummary
fn clone(&self) -> ClockStatusSummary
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 ClockStatusSummary
impl Debug for ClockStatusSummary
Source§impl<'de> Deserialize<'de> for ClockStatusSummary
impl<'de> Deserialize<'de> for ClockStatusSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClockStatusSummary
impl RefUnwindSafe for ClockStatusSummary
impl Send for ClockStatusSummary
impl Sync for ClockStatusSummary
impl Unpin for ClockStatusSummary
impl UnsafeUnpin for ClockStatusSummary
impl UnwindSafe for ClockStatusSummary
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