Enum Chmod
#[repr(u8)]pub enum Chmod {
Ecb = 0,
Cbc = 1,
Ctr = 2,
GcmGmac = 3,
Ccm = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
Ecb = 0
Electronic codebook
Cbc = 1
Cipher-block chaining
Ctr = 2
Counter mode
GcmGmac = 3
Galois counter mode and Galois message authentication code
Ccm = 4
Counter with CBC-MAC
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
impl Copy for Chmod
impl Eq for Chmod
§impl Ord for Chmod
impl Ord for Chmod
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 Chmod
impl PartialOrd for Chmod
impl StructuralPartialEq for Chmod
Auto Trait Implementations§
impl Freeze for Chmod
impl RefUnwindSafe for Chmod
impl Send for Chmod
impl Sync for Chmod
impl Unpin for Chmod
impl UnsafeUnpin for Chmod
impl UnwindSafe for Chmod
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