(&self, f: &mut std::fmt::Formatter)
| 11 | |
| 12 | impl 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)] |
nothing calls this directly
no outgoing calls
no test coverage detected