#[non_exhaustive]pub enum KeyParity {
Even,
Odd,
}Available on crate feature
crypto only.Expand description
Which of the two alternating SEKs (draft-sharabayko-srt-01 §3.1’s data
packet KK field / §6.1.6’s odd/even alternation) is meant.
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.
Implementations§
Trait Implementations§
impl Copy for KeyParity
impl Eq for KeyParity
impl StructuralPartialEq for KeyParity
Auto Trait Implementations§
impl Freeze for KeyParity
impl RefUnwindSafe for KeyParity
impl Send for KeyParity
impl Sync for KeyParity
impl Unpin for KeyParity
impl UnsafeUnpin for KeyParity
impl UnwindSafe for KeyParity
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