pub struct SymmetricKey(/* private fields */);Expand description
Symmetric encryption key that is automatically zeroized
Implementationsยง
Sourceยงimpl SymmetricKey
impl SymmetricKey
Trait Implementationsยง
Sourceยงimpl Clone for SymmetricKey
impl Clone for SymmetricKey
Sourceยงfn clone(&self) -> SymmetricKey
fn clone(&self) -> SymmetricKey
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 SymmetricKey
impl Debug for SymmetricKey
Sourceยงimpl<'de> Deserialize<'de> for SymmetricKey
impl<'de> Deserialize<'de> for SymmetricKey
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
Sourceยงimpl Drop for SymmetricKey
impl Drop for SymmetricKey
Sourceยงimpl Serialize for SymmetricKey
impl Serialize for SymmetricKey
Auto Trait Implementationsยง
impl Freeze for SymmetricKey
impl RefUnwindSafe for SymmetricKey
impl Send for SymmetricKey
impl Sync for SymmetricKey
impl Unpin for SymmetricKey
impl UnwindSafe for SymmetricKey
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