#[repr(u8)]pub enum SecurityLevel {
None = 0,
Mic32 = 1,
Mic64 = 2,
Mic128 = 3,
Enc = 4,
EncMic32 = 5,
EncMic64 = 6,
EncMic128 = 7,
Reserved(u8),
}Expand description
Security Level
See Section 4.5.1.1.1.
Variants§
None = 0
Mic32 = 1
Mic64 = 2
Mic128 = 3
Enc = 4
EncMic32 = 5
EncMic64 = 6
EncMic128 = 7
Reserved(u8)
Implementations§
Trait Implementations§
Source§impl Clone for SecurityLevel
impl Clone for SecurityLevel
impl Copy for SecurityLevel
Source§impl Debug for SecurityLevel
impl Debug for SecurityLevel
impl Eq for SecurityLevel
Source§impl PartialEq for SecurityLevel
impl PartialEq for SecurityLevel
impl StructuralPartialEq for SecurityLevel
Source§impl<'a, C: Default> TryRead<'a, C> for SecurityLevel
impl<'a, C: Default> TryRead<'a, C> for SecurityLevel
Auto Trait Implementations§
impl Freeze for SecurityLevel
impl RefUnwindSafe for SecurityLevel
impl Send for SecurityLevel
impl Sync for SecurityLevel
impl Unpin for SecurityLevel
impl UnsafeUnpin for SecurityLevel
impl UnwindSafe for SecurityLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more