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

Interface AssertZeroize

zeroize/src/lib.rs:818–820  ·  view source on GitHub ↗

Auto-deref workaround for deriving `ZeroizeOnDrop`.

Source from the content-addressed store, hash-verified

816
817 /// Auto-deref workaround for deriving `ZeroizeOnDrop`.
818 pub trait AssertZeroize {
819 fn zeroize_or_on_drop(&mut self);
820 }
821
822 impl<T: Zeroize + ?Sized> AssertZeroize for T {
823 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