Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ drop
Method
drop
zeroize/tests/alloc.rs:52–54 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
50
51
impl<S: Zeroize> Drop for SecretBox<S> {
52
fn drop(&mut self) {
53
self.0.as_mut().zeroize();
54
}
55
}
56
57
struct ObserveSecretBox<S: Default>(Box<S>);
Callers
nothing calls this directly
Calls
4
default
Function · 0.85
optimization_barrier
Function · 0.85
zeroize
Method · 0.45
as_mut
Method · 0.45
Tested by
no test coverage detected