(err: io::Error)
| 17 | |
| 18 | impl From<io::Error> for Error { |
| 19 | fn from(err: io::Error) -> Self { |
| 20 | match err.kind() { |
| 21 | _ => { |
| 22 | error!("{}", err.to_string()); |
| 23 | Error::IoError(err.to_string()) |
| 24 | }, |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | impl From<num::ParseIntError> for Error { |
nothing calls this directly
no outgoing calls
no test coverage detected