Function problem::in_context_of_with
source · pub fn in_context_of_with<O, F, M, B>(msg: F, body: B) -> Result<O, Problem>where
F: FnOnce() -> M,
M: Display,
B: FnOnce() -> Result<O, Problem>,
Expand description
Executes closure with problem_while_with context