#[non_exhaustive]#[repr(u8)]pub enum Variant {
NCS = 0,
RFC4122 = 1,
Microsoft = 2,
Future = 3,
}
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.
NCS = 0
Reserved by the NCS for backward compatibility.
RFC4122 = 1
As described in the RFC 9562 Specification (default). (for backward compatibility it is not yet renamed)
Microsoft = 2
Reserved by Microsoft for backward compatibility.
Future = 3
Reserved for future expansion.
Trait Implementations§
source§impl PartialEq for Variant
impl PartialEq for Variant
impl Copy 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 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