pub async fn with_timeout<F, T>(future: F, duration: Duration) -> UtilResult<T>where
F: Future<Output = T>,Expand description
Execute a future with a timeout
pub async fn with_timeout<F, T>(future: F, duration: Duration) -> UtilResult<T>where
F: Future<Output = T>,Execute a future with a timeout