MCPcopy Create free account
hub / github.com/MagnetForensics/dumpit-linux / from

Method from

src/error.rs:19–26  ·  view source on GitHub ↗
(err: io::Error)

Source from the content-addressed store, hash-verified

17
18impl 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
29impl From<num::ParseIntError> for Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected