Derive Macro zeroize::Zeroize[][src]

#[derive(Zeroize)]
{
    // Attributes available to this derive:
    #[zeroize]
}
This is supported on crate feature zeroize_derive only.

Derive the Zeroize trait.

Supports the following attribute:

  • #[zeroize(drop)]: derives the Drop trait, calling zeroize() when this item is dropped.