Skip to main content

IntoProblemResult

Trait IntoProblemResult 

Source
pub trait IntoProblemResult<OkT> {
    // Required method
    fn into_problem(self) -> Result<OkT, Problem>;
}
Expand description

Maps Err into a Problem.

Required Methods§

Source

fn into_problem(self) -> Result<OkT, Problem>

Maps Err into a Problem.

Implementations on Foreign Types§

Source§

impl<OkT> IntoProblemResult<OkT> for Result<OkT, Problem>

Source§

impl<OkT, ErrorT> IntoProblemResult<OkT> for Result<OkT, ErrorT>
where ErrorT: 'static + Error + Send + Sync,

Implementors§