Skip to main content

attempt_verdict

Function attempt_verdict 

Source
pub(super) fn attempt_verdict(backoff: &Backoff) -> ShouldAttempt
Expand description

Computes a retry verdict from a peer’s latest failure state.

The peer becomes attemptable once the selected delay past the anchor has elapsed. Overflow while constructing the wall-clock deadline falls back to the current time.