[−][src]Trait problem::ProblemWhile
Add context to Result with Problem or that can be implicitly mapped to one
Required methods
fn problem_while(
self,
msg: impl Display
) -> Result<O, Problem>
self,
msg: impl Display
) -> Result<O, Problem>
fn problem_while_with<F, M>(self, msg: F) -> Result<O, Problem> where
F: FnOnce() -> M,
M: Display,
F: FnOnce() -> M,
M: Display,
Implementations on Foreign Types
impl<O, E> ProblemWhile<O> for Result<O, E> where
E: Into<Problem>,
[src]
E: Into<Problem>,
fn problem_while(
self,
msg: impl Display
) -> Result<O, Problem>
[src]
self,
msg: impl Display
) -> Result<O, Problem>
fn problem_while_with<F, M>(self, msg: F) -> Result<O, Problem> where
F: FnOnce() -> M,
M: Display,
[src]
F: FnOnce() -> M,
M: Display,