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

Method new

zeroize/src/lib.rs:613–615  ·  view source on GitHub ↗
(value: Z)

Source from the content-addressed store, hash-verified

611 /// zeroized when it's dropped.
612 #[inline(always)]
613 pub fn new(value: Z) -> Self {
614 Self(value)
615 }
616}
617
618impl<Z: Zeroize + Clone> Clone for Zeroizing<Z> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected