pub enum AesSettingsCipherMode {
Unknown,
Ctr,
Cbc,
}
Expand description
The AES cipher mode used in the encryption.
Variants§
Unknown
Unknown.
Ctr
AES-CTR / Counter, NIST SP 800-38A.
Cbc
AES-CBC / Cipher Block Chaining, NIST SP 800-38A.
Trait Implementations§
source§impl Clone for AesSettingsCipherMode
impl Clone for AesSettingsCipherMode
source§fn clone(&self) -> AesSettingsCipherMode
fn clone(&self) -> AesSettingsCipherMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AesSettingsCipherMode
impl Debug for AesSettingsCipherMode
source§impl From<u64> for AesSettingsCipherMode
impl From<u64> for AesSettingsCipherMode
source§impl PartialEq<AesSettingsCipherMode> for AesSettingsCipherMode
impl PartialEq<AesSettingsCipherMode> for AesSettingsCipherMode
source§fn eq(&self, other: &AesSettingsCipherMode) -> bool
fn eq(&self, other: &AesSettingsCipherMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AesSettingsCipherMode
impl Eq for AesSettingsCipherMode
impl StructuralEq for AesSettingsCipherMode
impl StructuralPartialEq for AesSettingsCipherMode
Auto Trait Implementations§
impl RefUnwindSafe for AesSettingsCipherMode
impl Send for AesSettingsCipherMode
impl Sync for AesSettingsCipherMode
impl Unpin for AesSettingsCipherMode
impl UnwindSafe for AesSettingsCipherMode
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