call_trace_tls

Function thread_access_with

Source
pub fn thread_access_with<T, F: FnOnce(&mut Context) -> T>(f: F) -> T
Expand description

Access the thread-local context of #[trace]