#[repr(u32)]pub enum AeaEncryptionMode {
None = 0,
Symmetric = 1,
EcdheP256 = 2,
Scrypt = 3,
}Expand description
Wraps AEA encryption mode identifiers.
Variants§
None = 0
Wraps the None variant of AeaEncryptionMode.
Symmetric = 1
Wraps the Symmetric variant of AeaEncryptionMode.
EcdheP256 = 2
Wraps the EcdheP256 variant of AeaEncryptionMode.
Scrypt = 3
Wraps the Scrypt variant of AeaEncryptionMode.
Trait Implementations§
Source§impl Clone for AeaEncryptionMode
impl Clone for AeaEncryptionMode
Source§fn clone(&self) -> AeaEncryptionMode
fn clone(&self) -> AeaEncryptionMode
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 AeaEncryptionMode
Source§impl Debug for AeaEncryptionMode
impl Debug for AeaEncryptionMode
impl Eq for AeaEncryptionMode
Source§impl Hash for AeaEncryptionMode
impl Hash for AeaEncryptionMode
Source§impl PartialEq for AeaEncryptionMode
impl PartialEq for AeaEncryptionMode
Source§fn eq(&self, other: &AeaEncryptionMode) -> bool
fn eq(&self, other: &AeaEncryptionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AeaEncryptionMode
Auto Trait Implementations§
impl Freeze for AeaEncryptionMode
impl RefUnwindSafe for AeaEncryptionMode
impl Send for AeaEncryptionMode
impl Sync for AeaEncryptionMode
impl Unpin for AeaEncryptionMode
impl UnsafeUnpin for AeaEncryptionMode
impl UnwindSafe for AeaEncryptionMode
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