MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / fmt

Method fmt

src/repr/src/explain.rs:69–75  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

67
68impl fmt::Display for ExplainFormat {
69 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
70 match self {
71 ExplainFormat::Text => f.write_str("TEXT"),
72 ExplainFormat::Json => f.write_str("JSON"),
73 ExplainFormat::Dot => f.write_str("DOT"),
74 }
75 }
76}
77
78/// A zero-variant enum to be used as the explanation type in the

Callers

nothing calls this directly

Calls 13

bracketedFunction · 0.85
expectMethod · 0.80
fieldMethod · 0.80
enumerateMethod · 0.80
separatedFunction · 0.50
write_strMethod · 0.45
as_refMethod · 0.45
mapMethod · 0.45
into_iterMethod · 0.45
humanize_column_typeMethod · 0.45
to_stringMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected