#[non_exhaustive]
#[repr(u8)]
pub enum Version {
Nil,
Mac,
Dce,
Md5,
Random,
Sha1,
SortMac,
SortRand,
Custom,
Max,
}
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.
SortMac
Version 6: Sortable Timestamp and node ID.
SortRand
Version 7: Timestamp and random.
Custom
Version 8: Custom.
Max
The “max” (all ones) UUID.