with_global

Function with_global 

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

Executes a closure with a reference to the Reporter.