#[derive(Zeroize)]
{
// Attributes available to this derive:
#[zeroize]
}
Expand description
Derive the Zeroize
trait.
Supports the following attribute:
#[zeroize(drop)]
: derives theDrop
trait, callingzeroize()
when this item is dropped.#[zeroize(skip)]
: skips this field or variant when callingzeroize()
.