pub struct Zeroizing<Z>(/* private fields */)
where
Z: Zeroize;
Available on crate feature
pkcs8
only.Expand description
Zeroizing
is a a wrapper for any Z: Zeroize
type which implements a
Drop
handler which zeroizes dropped values.
Implementations§
Trait Implementations§
source§impl<Z> PartialEq for Zeroizing<Z>
impl<Z> PartialEq for Zeroizing<Z>
impl<Z> Eq for Zeroizing<Z>
impl<Z> StructuralPartialEq for Zeroizing<Z>where
Z: Zeroize,
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§
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