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

Method default

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

Source from the content-addressed store, hash-verified

593
594impl<T: Default> Default for CtOption<T> {
595 fn default() -> Self {
596 Self::none()
597 }
598}
599
600/// 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