#[non_exhaustive]pub enum KmAuth {
None,
Reserved(u8),
}Expand description
Authentication: message authentication code algorithm
(draft-sharabayko-srt-01 §3.2.2).
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.
None
0: none, or a KEKI-indexed crypto context (the only defined value).
Reserved(u8)
A value not defined above.
Implementations§
Trait Implementations§
impl Copy for KmAuth
impl Eq for KmAuth
impl StructuralPartialEq for KmAuth
Auto Trait Implementations§
impl Freeze for KmAuth
impl RefUnwindSafe for KmAuth
impl Send for KmAuth
impl Sync for KmAuth
impl Unpin for KmAuth
impl UnsafeUnpin for KmAuth
impl UnwindSafe for KmAuth
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