MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / fmt

Method fmt

ch_11/handle-errors/src/lib.rs:36–38  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

34
35impl std::fmt::Display for APILayerError {
36 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
37 write!(f, "Status: {}, Message: {}", self.status, self.message)
38 }
39}
40
41impl std::fmt::Display for Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected