Function problem::in_context_of

source ·
pub fn in_context_of<O, M, B>(msg: M, body: B) -> Result<O, Problem>where
    M: Display,
    B: FnOnce() -> Result<O, Problem>,
Expand description

Executes closure with problem_while context