Expand description
Retry configuration.
RetryConfig sets the number of retry attempts and the backoff between them. Retries are additionally bounded by a retry token bucket (a shared retry quota): TokenBucket holds the tokens and RetryPartition determines which clients and operations share one. To size the token bucket or give a workload its own, use Builder::retry_partition.
Structs§
- Client
Rate Limiter - Rate limiter for adaptive retry.
- Retry
Config - Retry configuration for requests.
- Retry
Config Builder - Builder for
RetryConfig. - Retry
Partition - Represents the retry partition, e.g. an endpoint, a region
- Token
Bucket - Token bucket that bounds retries — a client-side retry quota.
Enums§
- Reconnect
Mode - Mode for connection re-establishment
- Retry
Action - The result of running a
ClassifyRetryon aInterceptorContext. - Retry
Mode - Specifies how failed requests should be retried.
- Should
Attempt - An answer to the question “should I make a request attempt?”
Traits§
- Classify
Retry - Classifies what kind of retry is needed for a given
InterceptorContext.