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

Method default

ctutils/src/ct_option.rs:597–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

595
596impl<T: Default> Default for CtOption<T> {
597 fn default() -> Self {
598 Self::none()
599 }
600}
601
602/// Convert the [`CtOption`] wrapper into an [`Option`], depending on whether

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected