pub fn with_scoped<T>(report: &Report, f: impl FnOnce() -> T) -> T
Expand description

Sets this reporter as the scoped reporter for the duration of a closure.