Function measure_async

Source
pub async fn measure_async<F, T>(future: F) -> (T, Duration)
where F: Future<Output = T>,