pub enum MonotonicError {
Overflow,
}
Expand description
Error while trying to generate a monotonic increment in the same millisecond
Variants§
Overflow
Would overflow into the next millisecond
Trait Implementations§
Source§impl Clone for MonotonicError
impl Clone for MonotonicError
Source§fn clone(&self) -> MonotonicError
fn clone(&self) -> MonotonicError
Returns a copy 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 MonotonicError
impl Debug for MonotonicError
Source§impl Display for MonotonicError
impl Display for MonotonicError
Source§impl Error for MonotonicError
impl Error for MonotonicError
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 Hash for MonotonicError
impl Hash for MonotonicError
Source§impl PartialEq for MonotonicError
impl PartialEq for MonotonicError
impl Copy for MonotonicError
impl Eq for MonotonicError
impl StructuralPartialEq for MonotonicError
Auto Trait Implementations§
impl Freeze for MonotonicError
impl RefUnwindSafe for MonotonicError
impl Send for MonotonicError
impl Sync for MonotonicError
impl Unpin for MonotonicError
impl UnwindSafe for MonotonicError
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