pub enum UuidError {
MutexPoisoned,
CounterExhausted(u32),
Clock(TimeError),
}Expand description
Error returned by next_v7_bytes.
Variants§
MutexPoisoned
The MONO_STATE mutex was poisoned by a previous thread panic.
CounterExhausted(u32)
The 12-bit counter exhausted all 4 096 slots within a single millisecond and the system clock did not advance within the spin-wait budget (~5 ms).
Clock(TimeError)
The system clock could not be read (before epoch or timestamp overflow).
Trait Implementations§
Source§impl Error for UuidError
impl Error for UuidError
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 UuidError
impl RefUnwindSafe for UuidError
impl Send for UuidError
impl Sync for UuidError
impl Unpin for UuidError
impl UnsafeUnpin for UuidError
impl UnwindSafe for UuidError
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