Function mhost::app::utils::time

source ·
pub async fn time<T, F, E>(f: F) -> Result<(T, Duration), E>
where F: Future<Output = Result<T, E>>,