Function sea_streamer_runtime::timeout
source · pub async fn timeout<F, T>(_: Duration, _f: F) -> Result<T, TimeoutError>where
F: Future<Output = T>,
pub async fn timeout<F, T>(_: Duration, _f: F) -> Result<T, TimeoutError>where
F: Future<Output = T>,