#[non_exhaustive]
#[repr(u8)]
pub enum Version {
Nil,
Mac,
Dce,
Md5,
Random,
Sha1,
}
Expand description
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Nil
The “nil” (all zeros) UUID.
Mac
Version 1: Timestamp and node ID.
Dce
Version 2: DCE Security.
Md5
Version 3: MD5 hash.
Random
Version 4: Random.
Sha1
Version 5: SHA-1 hash.
Trait Implementations
impl Copy 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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