#[repr(u16)]pub enum AesVendorVersion {
Ae1 = 1,
Ae2 = 2,
}Expand description
The encryption specification used to encrypt a file with AES.
According to the specification AE-2 does not make use of the CRC check.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AesVendorVersion
impl Clone for AesVendorVersion
Source§fn clone(&self) -> AesVendorVersion
fn clone(&self) -> AesVendorVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AesVendorVersion
Source§impl Debug for AesVendorVersion
impl Debug for AesVendorVersion
impl Eq for AesVendorVersion
Source§impl From<AesVendorVersion> for u16
impl From<AesVendorVersion> for u16
Source§fn from(value: AesVendorVersion) -> Self
fn from(value: AesVendorVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AesVendorVersion
impl PartialEq for AesVendorVersion
impl StructuralPartialEq for AesVendorVersion
Auto Trait Implementations§
impl Freeze for AesVendorVersion
impl RefUnwindSafe for AesVendorVersion
impl Send for AesVendorVersion
impl Sync for AesVendorVersion
impl Unpin for AesVendorVersion
impl UnsafeUnpin for AesVendorVersion
impl UnwindSafe for AesVendorVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.