#[repr(u8)]pub enum Aesmode {
ECB = 0,
CBC = 1,
CTR = 2,
_RESERVED_3 = 3,
}Variants§
ECB = 0
ECB - used as is
CBC = 1
CBC mode (see details on IV/nonce)
CTR = 2
CTR mode (see details on IV/nonce). See also AESCTRPOS.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Aesmode
impl Ord for Aesmode
Source§impl PartialOrd for Aesmode
impl PartialOrd for Aesmode
impl Copy for Aesmode
impl Eq for Aesmode
impl StructuralPartialEq for Aesmode
Auto Trait Implementations§
impl Freeze for Aesmode
impl RefUnwindSafe for Aesmode
impl Send for Aesmode
impl Sync for Aesmode
impl Unpin for Aesmode
impl UnwindSafe for Aesmode
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