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

Method new

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

Source from the content-addressed store, hash-verified

597 /// zeroized when it's dropped.
598 #[inline(always)]
599 pub fn new(value: Z) -> Self {
600 Self(value)
601 }
602}
603
604impl<Z: Zeroize + Clone> Clone for Zeroizing<Z> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected