pub(super) fn retry_after(backoff: &PeerBackoff, now: u64) -> Option<Duration>Expand description
Computes the remaining delay before the peer becomes eligible.
The delay is measured from the newest failure; an expired backoff yields
None.
pub(super) fn retry_after(backoff: &PeerBackoff, now: u64) -> Option<Duration>Computes the remaining delay before the peer becomes eligible.
The delay is measured from the newest failure; an expired backoff yields
None.