#[repr(u32)]pub enum AeaEncryptionMode {
None = 0,
Symmetric = 1,
EcdheP256 = 2,
Scrypt = 3,
}Variants§
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 moreSource§impl Debug for AeaEncryptionMode
impl Debug 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 Copy for AeaEncryptionMode
impl Eq for AeaEncryptionMode
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