pub enum Version {
TIME,
DCE,
MD5,
RAND,
SHA1,
}
Expand description
Version represents the type of UUID, and is in the most significant 4 bits of the Timestamp.
Variants
TIME
The time-based version specified in this document.
DCE
DCE Security version, with embedded POSIX UIDs.
MD5
The name-based version specified in rfc4122 document that uses MD5 hashing.
RAND
The randomly or pseudo-randomly generated version specified in rfc4122 document.
SHA1
The name-based version specified in rfc4122 document that uses SHA-1 hashing.
Trait Implementations
impl Eq for Version
impl StructuralEq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more