#[non_exhaustive]pub enum KmKeyFlag {
NoSek,
Even,
Odd,
Both,
}Expand description
KK: which SEK(s) (odd/even) this Key Material message provides
(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.
NoSek
00b: no SEK provided (spec: “invalid extension format”).
Even
01b: even key provided.
Odd
10b: odd key provided.
Both
11b: both even and odd keys provided.
Implementations§
Trait Implementations§
impl Copy for KmKeyFlag
impl Eq for KmKeyFlag
impl StructuralPartialEq for KmKeyFlag
Auto Trait Implementations§
impl Freeze for KmKeyFlag
impl RefUnwindSafe for KmKeyFlag
impl Send for KmKeyFlag
impl Sync for KmKeyFlag
impl Unpin for KmKeyFlag
impl UnsafeUnpin for KmKeyFlag
impl UnwindSafe for KmKeyFlag
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