pub trait WithCodeResultExt<T> {
    fn with_code(self, code: Code) -> Result<T, Exit>;
}
Expand description

Extension for converting errors to Exit.

Required Methods

Convert an Error into an Exit

Implementations on Foreign Types

Implementors