[−][src]Struct zeroize::Zeroizing
Zeroizing
is a a wrapper for any Z: Zeroize
type which implements a
Drop
handler which zeroizes dropped values.
Implementations
impl<Z> Zeroizing<Z> where
Z: Zeroize,
[src]
Z: Zeroize,
pub fn new(value: Z) -> Self
[src]
Move value inside a Zeroizing
wrapper which ensures it will be
zeroized when it's dropped.
Trait Implementations
impl<Z: Clone + Zeroize> Clone for Zeroizing<Z>
[src]
fn clone(&self) -> Zeroizing<Z>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Z: Debug + Zeroize> Debug for Zeroizing<Z>
[src]
impl<Z> Deref for Zeroizing<Z> where
Z: Zeroize,
[src]
Z: Zeroize,
impl<Z> DerefMut for Zeroizing<Z> where
Z: Zeroize,
[src]
Z: Zeroize,
impl<Z> Drop for Zeroizing<Z> where
Z: Zeroize,
[src]
Z: Zeroize,
impl<Z: Eq + Zeroize> Eq for Zeroizing<Z>
[src]
impl<Z> From<Z> for Zeroizing<Z> where
Z: Zeroize,
[src]
Z: Zeroize,
impl<Z: PartialEq + Zeroize> PartialEq<Zeroizing<Z>> for Zeroizing<Z>
[src]
impl<Z: Zeroize> StructuralEq for Zeroizing<Z>
[src]
impl<Z: Zeroize> StructuralPartialEq for Zeroizing<Z>
[src]
impl<Z> Zeroize for Zeroizing<Z> where
Z: Zeroize,
[src]
Z: Zeroize,
Auto Trait Implementations
impl<Z> Send for Zeroizing<Z> where
Z: Send,
Z: Send,
impl<Z> Sync for Zeroizing<Z> where
Z: Sync,
Z: Sync,
impl<Z> Unpin for Zeroizing<Z> where
Z: Unpin,
Z: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<Z> Zeroize for Z where
Z: DefaultIsZeroes,
[src]
Z: DefaultIsZeroes,