Function veilid_tools::timeout
source · pub async fn timeout<F, T>(dur_ms: u32, f: F) -> Result<T, TimeoutError>where
F: Future<Output = T>,
pub async fn timeout<F, T>(dur_ms: u32, f: F) -> Result<T, TimeoutError>where
F: Future<Output = T>,