[−][src]Trait problem::ProblemWhile
Convert to Problem
if needed and add context to it
Associated Types
type WithContext
Required methods
fn problem_while(self, message: impl ToString) -> Self::WithContext
Add context information
fn problem_while_with<F, M>(self, message: F) -> Self::WithContext where
F: FnOnce() -> M,
M: ToString,
F: FnOnce() -> M,
M: ToString,
Add context information from function call
Implementations on Foreign Types
impl<O, E> ProblemWhile for Result<O, E> where
E: Into<Problem>,
[src]
E: Into<Problem>,
type WithContext = Result<O, Problem>
fn problem_while(self, message: impl ToString) -> Result<O, Problem>
[src]
fn problem_while_with<F, M>(self, message: F) -> Result<O, Problem> where
F: FnOnce() -> M,
M: ToString,
[src]
F: FnOnce() -> M,
M: ToString,
Implementors
impl ProblemWhile for Problem
[src]
type WithContext = Problem
fn problem_while(self, message: impl ToString) -> Problem
[src]
fn problem_while_with<F, M>(self, message: F) -> Problem where
F: FnOnce() -> M,
M: ToString,
[src]
F: FnOnce() -> M,
M: ToString,