pub trait OptionToProblem<O> {
    fn ok_or_problem<M>(self, msg: M) -> Result<O, Problem>
    where
        M: ToString
; }
Expand description

Map Option to Result with Problem

Required Methods§

Implementations on Foreign Types§

Implementors§