pub enum SymKey {
ChaCha20Key(ChaCha20Key),
}
Expand description
Symmetric cryptographic key
Variants§
ChaCha20Key(ChaCha20Key)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SymKey
impl<'de> Deserialize<'de> for SymKey
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 SymKey
impl StructuralPartialEq for SymKey
Auto Trait Implementations§
impl Freeze for SymKey
impl RefUnwindSafe for SymKey
impl Send for SymKey
impl Sync for SymKey
impl Unpin for SymKey
impl UnwindSafe for SymKey
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