Skip to main content

timeout

Function timeout 

Source
pub async fn timeout<F, T>(future: F, timeout_ms: u32) -> Result<T, String>
where F: Future<Output = T>,