(success: bool)
| 75 | |
| 76 | #[must_use] |
| 77 | pub const fn from_success(success: bool) -> Self { |
| 78 | if success { |
| 79 | Self::Success |
| 80 | } else { |
| 81 | Self::Failure |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
nothing calls this directly
no outgoing calls
no test coverage detected