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

Method drop

block-buffer/src/read.rs:183–186  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

181#[cfg(feature = "zeroize")]
182impl<BS: BlockSizes> Drop for ReadBuffer<BS> {
183 fn drop(&mut self) {
184 use zeroize::Zeroize;
185 self.buffer.zeroize();
186 }
187}
188
189#[cfg(feature = "zeroize")]

Callers

nothing calls this directly

Calls 2

zeroizeMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected