pub struct Zeroizing<Z: Zeroize>(_);
Expand description
Zeroizing
is a a wrapper for any Z: Zeroize
type which implements a
Drop
handler which zeroizes dropped values.
Implementations
Trait Implementations
sourceimpl<'de, Z> Deserialize<'de> for Zeroizing<Z> where
Z: Zeroize + Deserialize<'de>,
impl<'de, Z> Deserialize<'de> for Zeroizing<Z> where
Z: Zeroize + Deserialize<'de>,
sourcefn 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<Z: Eq + Zeroize> Eq for Zeroizing<Z>
impl<Z: Zeroize> StructuralEq for Zeroizing<Z>
impl<Z: Zeroize> StructuralPartialEq for Zeroizing<Z>
impl<Z> ZeroizeOnDrop for Zeroizing<Z> where
Z: Zeroize,
Auto Trait Implementations
impl<Z> RefUnwindSafe for Zeroizing<Z> where
Z: RefUnwindSafe,
impl<Z> Send for Zeroizing<Z> where
Z: Send,
impl<Z> Sync for Zeroizing<Z> where
Z: Sync,
impl<Z> Unpin for Zeroizing<Z> where
Z: Unpin,
impl<Z> UnwindSafe for Zeroizing<Z> where
Z: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more