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

Interface AssertZeroizeOnDrop

zeroize/src/lib.rs:832–834  ·  view source on GitHub ↗

Auto-deref workaround for deriving `ZeroizeOnDrop`.

Source from the content-addressed store, hash-verified

830
831 /// Auto-deref workaround for deriving `ZeroizeOnDrop`.
832 pub trait AssertZeroizeOnDrop {
833 fn zeroize_or_on_drop(self);
834 }
835
836 impl<T: ZeroizeOnDrop + ?Sized> AssertZeroizeOnDrop for &&mut T {
837 fn zeroize_or_on_drop(self) {}

Callers

nothing calls this directly

Implementers 1

lib.rszeroize/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected