pub fn retry_delay(attempt: u32) -> Duration
The delay after the unsuccessful attempt numbered attempt, counting from zero: 1, 2, 4, …, 256, then 300 seconds.
attempt