[−][src]Trait problem::Fatal
Extension trait to map Option
to Result
with Problem
Required methods
fn fatal(self) -> Result<O, FatalProblem>
fn fatal_with_status(self, status: i32) -> Result<O, FatalProblem>
Implementations on Foreign Types
impl<O> Fatal<O> for Result<O, Problem>
[src]
Extension trait that allow to convert to Result
with FatalProblem
fn fatal(self) -> Result<O, FatalProblem>
[src]
Converts to Result
with FatalProblem
and default exit status
fn fatal_with_status(self, status: i32) -> Result<O, FatalProblem>
[src]
Converts to Result
with FatalProblem
and given exit status