[]Derive Macro sp_core::crypto::Zeroize

#[derive(Zeroize)]
{
    // Attributes available to this derive:
    #[zeroize]
}

Trait to zeroize a memory buffer. Derive the Zeroize trait.

Supports the following attribute:

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