MCPcopy Create free account
hub / github.com/RustCrypto/utils / AssertZeroize

Interface AssertZeroize

zeroize/src/lib.rs:841–843  ·  view source on GitHub ↗

Auto-deref workaround for deriving `ZeroizeOnDrop`.

Source from the content-addressed store, hash-verified

839
840 /// Auto-deref workaround for deriving `ZeroizeOnDrop`.
841 pub trait AssertZeroize {
842 fn zeroize_or_on_drop(&mut self);
843 }
844
845 impl<T: Zeroize + ?Sized> AssertZeroize for T {
846 fn zeroize_or_on_drop(&mut self) {

Callers

nothing calls this directly

Implementers 1

lib.rszeroize/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected