pub enum Mode {
Encryption128 = 0,
Encryption256 = 2,
Decryption128 = 4,
Decryption256 = 6,
}Expand description
Defines the operating modes for AES encryption and decryption.
Variants§
Encryption128 = 0
Encryption mode with 128-bit key
Encryption256 = 2
Encryption mode with 256-bit key
Decryption128 = 4
Decryption mode with 128-bit key
Decryption256 = 6
Decryption mode with 256-bit key
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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