MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / fmt

Method fmt

crates/bindings-sys/src/lib.rs:1021–1028  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

1019
1020impl fmt::Debug for Errno {
1021 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1022 let mut fmt = f.debug_struct("Errno");
1023 fmt.field("code", &self.code());
1024 if let Some(msg) = self.message() {
1025 fmt.field("message", &msg);
1026 }
1027 fmt.finish()
1028 }
1029}
1030
1031impl fmt::Display for Errno {

Callers

nothing calls this directly

Calls 5

codeMethod · 0.80
unwrap_orMethod · 0.80
fieldMethod · 0.45
messageMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected