pub trait PollingBackoffPolicy: Send + Sync + Debug { // Required method fn wait_period(&self, loop_start: Instant, attempt_count: u32) -> Duration; }
Defines the trait implemented by all backoff strategies.
Returns the backoff delay on a failure.
loop_start
attempt_count