pub trait ToExitCode {
    fn to_exit_code(&self) -> i32;
}
Expand description

marks errors that can be converted to an exit code

Required Methods

returns the appropriate exit code for a given error

Implementors