Enum stm32_metapac::aes::vals::Chmod
#[repr(u8)]pub enum Chmod {
ECB = 0,
CBC = 1,
CTR = 2,
GCM_GMAC = 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
GCM_GMAC = 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 Ord for Chmod
impl Ord for Chmod
§impl PartialOrd for Chmod
impl PartialOrd for Chmod
§fn partial_cmp(&self, other: &Chmod) -> Option<Ordering>
fn partial_cmp(&self, other: &Chmod) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Chmod
impl Eq for Chmod
impl StructuralEq for Chmod
impl StructuralPartialEq for Chmod
Auto Trait Implementations§
impl RefUnwindSafe for Chmod
impl Send for Chmod
impl Sync for Chmod
impl Unpin 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