Skip to main content

Module retry

Module retry 

Source
Expand description

Retry policy: how many attempts, and how long to wait between them.

Whether a failure may be retried at all is decided elsewhere, by its FailureClass and crate::policy. This module only does the counting and the arithmetic.

Structsยง

RetryPolicy
Exponential backoff with optional jitter.