Skip to main content

with_short_timeout

Function with_short_timeout 

Source
pub async fn with_short_timeout<F, T>(fut: F, context: &str) -> Result<T>
where F: Future<Output = T>,
Expand description

Execute a future with a short timeout