Function proc_exit::sysexits::io_to_sysexists
source · pub fn io_to_sysexists(kind: ErrorKind) -> Option<Code>
Expand description
Convert std::io::ErrorKind
to a Code
pub fn io_to_sysexists(kind: ErrorKind) -> Option<Code>
Convert std::io::ErrorKind
to a Code