[−][src]Trait problem::MapProblemOr
Map type not containing any error to type containing given Problem
Associated Types
type ProblemCarrier
Required methods
fn map_problem_or(self, problem: impl Into<Problem>) -> Self::ProblemCarrier
fn map_problem_or_else<F, P>(self, problem: F) -> Self::ProblemCarrier where
F: FnOnce() -> P,
P: Into<Problem>,
F: FnOnce() -> P,
P: Into<Problem>,
Implementations on Foreign Types
impl<O, E> MapProblemOr for Result<O, Option<E>> where
E: Into<Problem>,
[src]
E: Into<Problem>,
Mapping Result
with Option<E>
to Result
with Problem
where E
implements Into<Problem>
type ProblemCarrier = Result<O, Problem>
fn map_problem_or(self, problem: impl Into<Problem>) -> Result<O, Problem>
[src]
fn map_problem_or_else<F, P>(self, problem: F) -> Self::ProblemCarrier where
F: FnOnce() -> P,
P: Into<Problem>,
[src]
F: FnOnce() -> P,
P: Into<Problem>,