[][src]Trait problem::OptionErrorToProblem

pub trait OptionErrorToProblem {
    fn to_problem(self) -> Problem;
}

Option of T that has Display or ToString implemented can be converted to Problem that displays for None variant

Required methods

fn to_problem(self) -> Problem

Loading content...

Implementations on Foreign Types

impl<E> OptionErrorToProblem for Option<E> where
    E: ToProblem
[src]

Loading content...

Implementors

Loading content...