pub enum Variant {
Ncs,
Rfc4122,
Microsoft,
Future,
}Expand description
The RFC-defined variant of a UUID — which layout the variant/version bits follow.
Variants§
Ncs
Reserved, NCS backward compatibility (0xx).
Rfc4122
The standard RFC 9562 / RFC 4122 layout (10x) — every version we generate.
Microsoft
Reserved, Microsoft GUID (110).
Future
Reserved for future definition (111).
Trait Implementations§
impl Copy for Variant
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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