pub enum DntAlgorithm {
XChaCha20Poly1305,
}Expand description
Authenticated encryption algorithm used by this envelope.
Variants§
XChaCha20Poly1305
XChaCha20-Poly1305 with a 256-bit key and 192-bit nonce.
Trait Implementations§
Source§impl Clone for DntAlgorithm
impl Clone for DntAlgorithm
Source§fn clone(&self) -> DntAlgorithm
fn clone(&self) -> DntAlgorithm
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 DntAlgorithm
Source§impl Debug for DntAlgorithm
impl Debug for DntAlgorithm
Source§impl<'de> Deserialize<'de> for DntAlgorithm
impl<'de> Deserialize<'de> for DntAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DntAlgorithm
Source§impl PartialEq for DntAlgorithm
impl PartialEq for DntAlgorithm
Source§impl Serialize for DntAlgorithm
impl Serialize for DntAlgorithm
impl StructuralPartialEq for DntAlgorithm
Auto Trait Implementations§
impl Freeze for DntAlgorithm
impl RefUnwindSafe for DntAlgorithm
impl Send for DntAlgorithm
impl Sync for DntAlgorithm
impl Unpin for DntAlgorithm
impl UnsafeUnpin for DntAlgorithm
impl UnwindSafe for DntAlgorithm
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