pub enum Version {
TIME = 1,
DCE = 2,
MD5 = 3,
RAND = 4,
SHA1 = 5,
}
Expand description
Version represents the type of UUID, and is in the most significant 4 bits of the Timestamp.
Variants§
TIME = 1
The time-based version specified in rfc4122
document.
DCE = 2
DCE Security version, with embedded POSIX UIDs.
MD5 = 3
The name-based version specified in rfc4122
document that uses MD5 hashing.
RAND = 4
The randomly or pseudo-randomly generated version specified in rfc4122
document.
SHA1 = 5
The name-based version specified in rfc4122
document that uses SHA-1 hashing.
Trait Implementations§
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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