(self)
| 169 | |
| 170 | #[inline] |
| 171 | pub(super) fn decode_error_code(self) -> u16 { |
| 172 | let bits = self.raw as usize; |
| 173 | |
| 174 | // `raw` must be in `-4095..0`. Linux always returns errors in |
| 175 | // `-4095..0`, and we double-check it here. |
| 176 | debug_assert!((-4095..0).contains(&(bits as isize))); |
| 177 | |
| 178 | bits as u16 |
| 179 | } |
| 180 | |
| 181 | #[inline] |
| 182 | pub(super) fn is_nonzero(&self) -> bool { |
no outgoing calls
no test coverage detected