Function retry_with_backoff

Source
pub async fn retry_with_backoff<F, T, E>(
    config: &RetryConfig,
    operation: F,
) -> Result<T>
where F: Fn() -> BoxFuture<'static, Result<T>>,
Expand description

Retry helper function with exponential backoff