pub struct ClockSkewError {
pub observed: Duration,
pub maximum: Duration,
}Expand description
Error returned when clock skew exceeds the configured maximum (spec section 8.2): excessive skew rejects timestamp allocation.
Fields§
§observed: DurationLargest skew observed so far (high-water mark, never decreases).
maximum: DurationConfigured maximum acceptable skew.
Trait Implementations§
Source§impl Clone for ClockSkewError
impl Clone for ClockSkewError
Source§fn clone(&self) -> ClockSkewError
fn clone(&self) -> ClockSkewError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClockSkewError
impl Debug for ClockSkewError
Source§impl Display for ClockSkewError
impl Display for ClockSkewError
impl Eq for ClockSkewError
Source§impl Error for ClockSkewError
impl Error for ClockSkewError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ClockSkewError
impl PartialEq for ClockSkewError
impl StructuralPartialEq for ClockSkewError
Auto Trait Implementations§
impl Freeze for ClockSkewError
impl RefUnwindSafe for ClockSkewError
impl Send for ClockSkewError
impl Sync for ClockSkewError
impl Unpin for ClockSkewError
impl UnsafeUnpin for ClockSkewError
impl UnwindSafe for ClockSkewError
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