pub enum Chacha20Types {
C20P,
XC20P,
}Expand description
Supported algorithms for (X)ChaCha20-Poly1305
Variants§
Trait Implementations§
Source§impl Clone for Chacha20Types
impl Clone for Chacha20Types
Source§fn clone(&self) -> Chacha20Types
fn clone(&self) -> Chacha20Types
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 Chacha20Types
impl Debug for Chacha20Types
Source§impl Hash for Chacha20Types
impl Hash for Chacha20Types
Source§impl Ord for Chacha20Types
impl Ord for Chacha20Types
Source§fn cmp(&self, other: &Chacha20Types) -> Ordering
fn cmp(&self, other: &Chacha20Types) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Chacha20Types
impl PartialEq for Chacha20Types
Source§impl PartialOrd for Chacha20Types
impl PartialOrd for Chacha20Types
Source§impl Zeroize for Chacha20Types
impl Zeroize for Chacha20Types
impl Copy for Chacha20Types
impl Eq for Chacha20Types
impl StructuralPartialEq for Chacha20Types
Auto Trait Implementations§
impl Freeze for Chacha20Types
impl RefUnwindSafe for Chacha20Types
impl Send for Chacha20Types
impl Sync for Chacha20Types
impl Unpin for Chacha20Types
impl UnwindSafe for Chacha20Types
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