pub enum UuidV7Error {
InvalidVariant,
InvalidVersion,
}Expand description
A validation failure for a UUIDv7 identifier.
Variants§
InvalidVariant
The UUID does not use the RFC 4122/RFC 9562 variant.
InvalidVersion
The UUID does not use version 7.
Trait Implementations§
Source§impl Clone for UuidV7Error
impl Clone for UuidV7Error
impl Copy for UuidV7Error
Source§impl Debug for UuidV7Error
impl Debug for UuidV7Error
Source§impl Display for UuidV7Error
impl Display for UuidV7Error
impl Eq for UuidV7Error
Source§impl Error for UuidV7Error
impl Error for UuidV7Error
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 UuidV7Error
impl PartialEq for UuidV7Error
impl StructuralPartialEq for UuidV7Error
Auto Trait Implementations§
impl Freeze for UuidV7Error
impl RefUnwindSafe for UuidV7Error
impl Send for UuidV7Error
impl Sync for UuidV7Error
impl Unpin for UuidV7Error
impl UnsafeUnpin for UuidV7Error
impl UnwindSafe for UuidV7Error
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