pub trait ZeroizeOnDrop { }
Expand description

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

Implementations on Foreign Types§

Impl ZeroizeOnDrop on arrays of types that impl ZeroizeOnDrop.

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

PhantomPinned is zero sized so provide a ZeroizeOnDrop implementation.

() is zero sized so provide a ZeroizeOnDrop implementation.

Generic implementation of ZeroizeOnDrop for tuples up to 10 parameters.

Implementors§