pub trait RetryPolicy {
    fn should_retry(&self, n_past_retries: u32) -> RetryDecision;
}

Required Methods

Determine if a task should be retried according to a retry policy.

Implementors