(self)
| 24 | impl SecurityLevelId { |
| 25 | #[must_use] |
| 26 | pub fn label(self) -> &'static str { |
| 27 | match self { |
| 28 | Self::Unknown => "Unknown", |
| 29 | Self::Secure => "Secure", |
| 30 | Self::AtRisk => "At Risk", |
| 31 | Self::Compromised => "Compromised", |
| 32 | Self::Other => "Other", |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | #[must_use] |
| 37 | pub fn as_u8(self) -> u8 { |
nothing calls this directly
no outgoing calls
no test coverage detected