with_retry

Function with_retry 

Source
pub async fn with_retry<F, T, E>(
    policy: &RetryPolicy,
    operation: F,
) -> Result<T>
where F: FnMut() -> Result<T, E>, E: Display,
Expand description

Execute with retry logic