pub fn backoff_delay( base: Duration, max: Duration, attempt: u32, strategy: RetryStrategyType, jitter: f64, ) -> Duration
Calculate the delay for a retry attempt.