pub fn phase<F, R>(f: F) -> Rwhere
F: FnOnce() -> R,Expand description
Runs f inside a phase. Equivalent to constructing a PhaseGuard,
running f, and dropping the guard. Panics in f propagate, but the
phase is guaranteed to end before unwinding leaves this function.