pub enum UuidV7ConstructionError {
UnixMillisecondsOutOfRange,
}Expand description
A safe failure while assembling a UUIDv7 value from explicit inputs.
Variants§
UnixMillisecondsOutOfRange
The Unix-millisecond timestamp cannot fit UUIDv7’s 48-bit timestamp field.
Trait Implementations§
Source§impl Clone for UuidV7ConstructionError
impl Clone for UuidV7ConstructionError
impl Copy for UuidV7ConstructionError
Source§impl Debug for UuidV7ConstructionError
impl Debug for UuidV7ConstructionError
Source§impl Display for UuidV7ConstructionError
impl Display for UuidV7ConstructionError
impl Eq for UuidV7ConstructionError
Source§impl Error for UuidV7ConstructionError
impl Error for UuidV7ConstructionError
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 UuidV7ConstructionError
impl PartialEq for UuidV7ConstructionError
impl StructuralPartialEq for UuidV7ConstructionError
Auto Trait Implementations§
impl Freeze for UuidV7ConstructionError
impl RefUnwindSafe for UuidV7ConstructionError
impl Send for UuidV7ConstructionError
impl Sync for UuidV7ConstructionError
impl Unpin for UuidV7ConstructionError
impl UnsafeUnpin for UuidV7ConstructionError
impl UnwindSafe for UuidV7ConstructionError
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