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

Method zeroize

zeroize/tests/zeroize.rs:124–126  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

122
123 impl Zeroize for PanicOnNonZeroDrop {
124 fn zeroize(&mut self) {
125 self.0 = 0;
126 }
127 }
128
129 impl Drop for PanicOnNonZeroDrop {

Callers 15

derive_tuple_struct_testFunction · 0.45
derive_struct_testFunction · 0.45
derive_enum_testFunction · 0.45
derive_struct_skipFunction · 0.45
derive_enum_skipFunction · 0.45
derive_boundFunction · 0.45
dropMethod · 0.45
zeroize_byte_arraysFunction · 0.45
zeroize_check_tupleFunction · 0.45
zeroize_vecFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected