(&self, f: &mut fmt::Formatter<'_>)
| 67 | |
| 68 | impl 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 |
nothing calls this directly
no test coverage detected