[−][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 ToString
) -> Result<O, Problem>
self,
msg: impl ToString
) -> Result<O, Problem>
fn problem_while_with<F, M>(self, msg: F) -> Result<O, Problem> where
F: FnOnce() -> M,
M: ToString,
F: FnOnce() -> M,
M: ToString,
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 ToString
) -> Result<O, Problem>[src]
self,
msg: impl ToString
) -> Result<O, Problem>
fn problem_while_with<F, M>(self, msg: F) -> Result<O, Problem> where
F: FnOnce() -> M,
M: ToString, [src]
F: FnOnce() -> M,
M: ToString,