ZeroizeOnDrop

Trait ZeroizeOnDrop 

Source
pub trait ZeroizeOnDrop { }
Expand description

Marker trait signifying that this type will Zeroize::zeroize itself on Drop.

Implementations on Foreign Types§

Source§

impl ZeroizeOnDrop for ()

() is zero sized so provide a ZeroizeOnDrop implementation.

Source§

impl ZeroizeOnDrop for PhantomPinned

PhantomPinned is zero sized so provide a ZeroizeOnDrop implementation.

Source§

impl<A> ZeroizeOnDrop for (A,)
where A: ZeroizeOnDrop,

Source§

impl<A, B> ZeroizeOnDrop for (A, B)

Source§

impl<A, B, C> ZeroizeOnDrop for (A, B, C)

Source§

impl<A, B, C, D> ZeroizeOnDrop for (A, B, C, D)

Source§

impl<A, B, C, D, E> ZeroizeOnDrop for (A, B, C, D, E)

Source§

impl<A, B, C, D, E, F> ZeroizeOnDrop for (A, B, C, D, E, F)

Source§

impl<A, B, C, D, E, F, G> ZeroizeOnDrop for (A, B, C, D, E, F, G)

Source§

impl<A, B, C, D, E, F, G, H> ZeroizeOnDrop for (A, B, C, D, E, F, G, H)

Source§

impl<A, B, C, D, E, F, G, H, I> ZeroizeOnDrop for (A, B, C, D, E, F, G, H, I)

Source§

impl<A, B, C, D, E, F, G, H, I, J> ZeroizeOnDrop for (A, B, C, D, E, F, G, H, I, J)

Source§

impl<S> ZeroizeOnDrop for SecretBox<S>
where S: Zeroize + ?Sized,

Source§

impl<Z> ZeroizeOnDrop for Option<Z>
where Z: ZeroizeOnDrop,

Source§

impl<Z> ZeroizeOnDrop for Box<[Z]>
where Z: ZeroizeOnDrop,

Available on crate feature alloc only.
Source§

impl<Z> ZeroizeOnDrop for Vec<Z>
where Z: ZeroizeOnDrop,

Available on crate feature alloc only.
Source§

impl<Z> ZeroizeOnDrop for PhantomData<Z>

[PhantomData is always zero sized so provide a ZeroizeOnDrop implementation.

Source§

impl<Z, const N: usize> ZeroizeOnDrop for [Z; N]
where Z: ZeroizeOnDrop,

Impl ZeroizeOnDrop on arrays of types that impl ZeroizeOnDrop.

Implementors§

Source§

impl<T: Zeroize> ZeroizeOnDrop for Fixed<T>

Available on crate feature zeroize only.
Source§

impl<T: ?Sized + Zeroize> ZeroizeOnDrop for Dynamic<T>

Available on crate feature zeroize only.
Source§

impl<Z> ZeroizeOnDrop for Zeroizing<Z>
where Z: Zeroize,