pub fn with_global<T>(f: impl FnOnce(&Report) -> T) -> Option<T>
Expand description

Executes a closure with a reference to the Reporter.