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

Method fmt

wycheproof2blb/src/wycheproof.rs:41–51  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

39
40impl fmt::Display for CaseResult {
41 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
42 write!(
43 f,
44 "{}",
45 match self {
46 CaseResult::Valid => "valid",
47 CaseResult::Invalid => "invalid",
48 CaseResult::Acceptable => "acceptable",
49 }
50 )
51 }
52}
53
54/// `Case` represents the common elements of a tests object in a Wycheproof group.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected