Expand description
Retry policy with exponential backoff for transient errors.
Mirrors the Go reference client’s RetryPolicy/Retry: a closure is
re-invoked up to RetryPolicy::max_attempts times, but only when the
returned error is Error::is_retryable. Non-retryable errors are
returned immediately.
Structs§
- Retry
Policy - Configures retry behavior for transient (retryable) errors.
Functions§
- retry
- Execute
fup topolicy.max_attemptstimes, retrying only when the returned error isError::is_retryable.