MapProblem

Trait MapProblem 

Source
pub trait MapProblem {
    type ProblemCarrier;

    // Required method
    fn map_problem(self) -> Self::ProblemCarrier;
}
Expand description

Map type containing error to type containing Problem

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Source§

impl<O, E> MapProblem for Result<O, E>
where E: Into<Problem>,

Mapping Result with error to Result with Problem

Implementors§