Trait error_chain::ExitCode

source ·
pub trait ExitCode {
    // Required method
    fn code(self) -> i32;
}
Expand description

Represents a value that can be used as the exit status of the process. See quick_main!.

Required Methods§

source

fn code(self) -> i32

Returns the value to use as the exit status.

Implementations on Foreign Types§

source§

impl ExitCode for i32

source§

fn code(self) -> i32

source§

impl ExitCode for ()

source§

fn code(self) -> i32

Implementors§