(&self)
| 29 | impl ErrorExt for io::Error { |
| 30 | #[cfg(not(windows))] |
| 31 | fn posix_errno(&self) -> i32 { |
| 32 | self.raw_os_error().unwrap_or(0) |
| 33 | } |
| 34 | #[cfg(windows)] |
| 35 | fn posix_errno(&self) -> i32 { |
| 36 | let winerror = self.raw_os_error().unwrap_or(0); |
no test coverage detected