retry_with_backoff

Function retry_with_backoff 

Source
pub fn retry_with_backoff<T, F, E>(
    operation_name: &str,
    config: &RetryConfig,
    operation: F,
) -> Result<T>
where F: FnMut() -> Result<T, E>, E: Display + Clone,
Expand description

Retry an operation with exponential backoff