with_config_timeout

Function with_config_timeout 

Source
pub async fn with_config_timeout<F, T>(future: F) -> Result<T>
where F: Future<Output = Result<T>>,
Expand description

Execute a future with a configurable timeout from config