Function with_backtrace_tracking

Source
pub async fn with_backtrace_tracking<F>(f: F) -> F::Output
where F: Future,
Expand description

Set a task_local variable for this future f, so any panic occurred in f can be stored and retrieved later.