pub async fn with_profiling_async<F, Fut, R>(f: F) -> (R, LeakReport)where F: FnOnce() -> Fut, Fut: Future<Output = R>,
Async version of with_profiling.
with_profiling