Expand description
Backoff strategies for retry delay computation.
This module provides pluggable backoff strategies that compute the delay
before a retried run becomes eligible for re-promotion from RetryWait
to Ready.
Structs§
- Exponential
Backoff - Exponential backoff: delay doubles with each attempt, capped at a maximum.
- Fixed
Backoff - Fixed-interval backoff: every retry waits the same duration.
Enums§
- Backoff
Config Error - Error returned when backoff configuration is invalid.
Traits§
- Backoff
Strategy - A strategy for computing retry delay based on attempt number.
Functions§
- retry_
ready_ at - Computes the timestamp at which a retried run becomes ready.