#[derive(Zeroize)]
{
// Attributes available to this derive:
#[zeroize]
}
Available on crate feature
pkcs8
only.Expand description
Derive the Zeroize
trait.
Supports the following attributes:
On the item level:
#[zeroize(drop)]
: deprecated useZeroizeOnDrop
instead#[zeroize(bound = "T: MyTrait")]
: this replaces any trait bounds inferred by zeroize-derive
On the field level:
#[zeroize(skip)]
: skips this field or variant when callingzeroize()