pub struct ClockSkewWarning {
pub event_ts: u64,
pub wall_ts: u64,
pub skew_secs: i64,
pub threshold_secs: u64,
pub message: String,
}Expand description
Warning emitted when clock skew is detected.
Fields§
§event_ts: u64The event timestamp that triggered the warning.
wall_ts: u64The current wall-clock time.
skew_secs: i64The detected skew in seconds (positive = event is in the future, negative = event is significantly in the past).
threshold_secs: u64The threshold that was exceeded.
message: StringHuman-readable warning message.
Trait Implementations§
Source§impl Clone for ClockSkewWarning
impl Clone for ClockSkewWarning
Source§fn clone(&self) -> ClockSkewWarning
fn clone(&self) -> ClockSkewWarning
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 moreAuto Trait Implementations§
impl Freeze for ClockSkewWarning
impl RefUnwindSafe for ClockSkewWarning
impl Send for ClockSkewWarning
impl Sync for ClockSkewWarning
impl Unpin for ClockSkewWarning
impl UnsafeUnpin for ClockSkewWarning
impl UnwindSafe for ClockSkewWarning
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