Function mhost::app::utils::time[][src]

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