MCPcopy Create free account
hub / github.com/emwalker/digraph / fmt

Method fmt

backend/src/graphql/alert.rs:13–19  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter)

Source from the content-addressed store, hash-verified

11
12impl std::fmt::Display for AlertType {
13 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
14 match self {
15 Self::Success => write!(f, "success"),
16 Self::Warn => write!(f, "warn"),
17 Self::Error => write!(f, "error"),
18 }
19 }
20}
21
22#[derive(Clone, Debug)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected