Enum Maclen
#[repr(u8)]pub enum Maclen {
M0 = 0,
M4 = 1,
M6 = 2,
M8 = 3,
M10 = 4,
M12 = 5,
M14 = 6,
M16 = 7,
}Variants§
M0 = 0
M = 0 This is a special case for CCM* where encryption is required but not authentication.
M4 = 1
M = 4.
M6 = 2
M = 6.
M8 = 3
M = 8.
M10 = 4
M = 10.
M12 = 5
M = 12.
M14 = 6
M = 14.
M16 = 7
M = 16.
Implementations§
Trait Implementations§
impl Copy for Maclen
impl Eq for Maclen
§impl Ord for Maclen
impl Ord for Maclen
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Maclen
impl PartialOrd for Maclen
impl StructuralPartialEq for Maclen
Auto Trait Implementations§
impl Freeze for Maclen
impl RefUnwindSafe for Maclen
impl Send for Maclen
impl Sync for Maclen
impl Unpin for Maclen
impl UnsafeUnpin for Maclen
impl UnwindSafe for Maclen
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