pub enum EncryptAlgo {
Chacha20Poly1305Aead,
}Expand description
Encryption algorithm
Variants§
Chacha20Poly1305Aead
ChaCha20 stream cipher use the Poly1305 authenticator with Associated Data (AEAD) algorithm (see https://tools.ietf.org/html/rfc7539).
Trait Implementations§
Source§impl Clone for EncryptAlgo
impl Clone for EncryptAlgo
Source§fn clone(&self) -> EncryptAlgo
fn clone(&self) -> EncryptAlgo
Returns a duplicate 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 EncryptAlgo
impl Debug for EncryptAlgo
Source§impl Default for EncryptAlgo
impl Default for EncryptAlgo
Source§impl PartialEq for EncryptAlgo
impl PartialEq for EncryptAlgo
impl Copy for EncryptAlgo
impl StructuralPartialEq for EncryptAlgo
Auto Trait Implementations§
impl Freeze for EncryptAlgo
impl RefUnwindSafe for EncryptAlgo
impl Send for EncryptAlgo
impl Sync for EncryptAlgo
impl Unpin for EncryptAlgo
impl UnwindSafe for EncryptAlgo
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> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
Source§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more