Struct Zeroizing
struct Zeroizing<Z: Zeroize>(_)
Zeroizing is a a wrapper for any Z: Zeroize type which implements a
Drop handler which zeroizes dropped values.
Implementations
impl<Z> Zeroizing<Z>
fn new(value: Z) -> SelfMove value inside a
Zeroizingwrapper which ensures it will be zeroized when it's dropped.
impl<P, T> Receiver for Zeroizing<Z>
impl<T> Any for Zeroizing<Z>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Zeroizing<Z>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Zeroizing<Z>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Zeroizing<Z>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Zeroizing<Z>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Zeroizing<Z>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Zeroizing<Z>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Zeroizing<Z>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Zeroizing<Z>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T, Z> AsMut for Zeroizing<Z>
fn as_mut(self: &mut Self) -> &mut T
impl<T, Z> AsRef for Zeroizing<Z>
fn as_ref(self: &Self) -> &T
impl<Z> Deref for Zeroizing<Z>
fn deref(self: &Self) -> &Z
impl<Z> DerefMut for Zeroizing<Z>
fn deref_mut(self: &mut Self) -> &mut Z
impl<Z> Drop for Zeroizing<Z>
fn drop(self: &mut Self)
impl<Z> Freeze for Zeroizing<Z>
impl<Z> From for Zeroizing<Z>
fn from(value: Z) -> Zeroizing<Z>
impl<Z> RefUnwindSafe for Zeroizing<Z>
impl<Z> Send for Zeroizing<Z>
impl<Z> Sync for Zeroizing<Z>
impl<Z> Unpin for Zeroizing<Z>
impl<Z> UnsafeUnpin for Zeroizing<Z>
impl<Z> UnwindSafe for Zeroizing<Z>
impl<Z> Zeroize for Zeroizing<Z>
fn zeroize(self: &mut Self)
impl<Z> ZeroizeOnDrop for Zeroizing<Z>
impl<Z: $crate::cmp::Eq + Zeroize> Eq for Zeroizing<Z>
impl<Z: $crate::cmp::PartialEq + Zeroize> PartialEq for Zeroizing<Z>
fn eq(self: &Self, other: &Zeroizing<Z>) -> bool
impl<Z: $crate::default::Default + Zeroize> Default for Zeroizing<Z>
fn default() -> Zeroizing<Z>
impl<Z: $crate::fmt::Debug + Zeroize> Debug for Zeroizing<Z>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<Z: Zeroize + Clone> Clone for Zeroizing<Z>
fn clone(self: &Self) -> Selffn clone_from(self: &mut Self, source: &Self)