(&self)
| 21 | |
| 22 | impl Severity { |
| 23 | pub fn is_error(&self) -> bool { |
| 24 | matches!(self, Severity::Panic | Severity::Fatal | Severity::Error) |
| 25 | } |
| 26 | |
| 27 | pub fn is_fatal(&self) -> bool { |
| 28 | matches!(self, Severity::Fatal) |
no outgoing calls
no test coverage detected