Expand description
Retry budgeting with exponential backoff tracking.
Provides per-key retry budgets with configurable backoff strategies, time-based budget enforcement, and per-attempt history recording.
Structs§
- Attempt
Record - Record of a single attempt.
- Budget
Report - Summary report of a
RetryBudget’s current state. - Retry
Budget - A budget that limits how many times an operation may be retried, and for how long in total.
- Retry
Policy - A collection of named
RetryBudgets, keyed by an arbitrary string (e.g. provider name, endpoint, or request type).
Enums§
- Backoff
Strategy - Backoff strategy used to compute the delay before each retry attempt.
- Retry
Error - Errors returned when the retry machinery refuses to issue another attempt.