pub enum TimestampError {
DuplicatedNode(u8),
ClockDrift,
Overflow,
}Expand description
The clock was unable to produce a timestamp due to an error.
Variants§
DuplicatedNode(u8)
The clock tried to receive/register a timestamp that it produced.
ClockDrift
The clock on the remote node has drifted too far ahead for the timestamp to be considered usable. The cut off is about 1 hour, so if this is raised the NTP system on the server should be checked.
Overflow
The timestamp counter overflowed, this normally means you’re creating too many timestamps every millisecond!
Trait Implementations§
Source§impl Debug for TimestampError
impl Debug for TimestampError
Source§impl Display for TimestampError
impl Display for TimestampError
Source§impl Error for TimestampError
impl Error for TimestampError
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()
Auto Trait Implementations§
impl Freeze for TimestampError
impl RefUnwindSafe for TimestampError
impl Send for TimestampError
impl Sync for TimestampError
impl Unpin for TimestampError
impl UnwindSafe for TimestampError
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