with_retry

Function with_retry 

Source
pub async fn with_retry<F, Fut, T>(
    config: &RetryConfig,
    operation: F,
) -> Result<T>
where F: Fn() -> Fut, Fut: Future<Output = Result<T>>,
Expand description

Execute an async operation with automatic retry logic