pub(super) fn delay(retry: &Retry, attempt: u32) -> Duration
How long to wait before retry number attempt (1 is the first retry).
attempt