Trait distant::ExitCodeError[][src]

pub trait ExitCodeError: Error {
    fn to_exit_code(&self) -> ExitCode;

    fn is_silent(&self) -> bool { ... }
fn to_i32(&self) -> i32 { ... } }
Expand description

Represents an error that can be converted into an exit code

Required methods

Provided methods

Indicates if the error message associated with this exit code error should be printed, or if this is just used to reflect the exit code when the process exits

Implementations on Foreign Types

Implementors