Module aws_smithy_runtime_api::client::retries
source · Available on crate feature
client
only.Expand description
Retry handling and token bucket.
This code defines when and how failed requests should be retried. It also defines the behavior used to limit the rate that requests are sent.
Modules§
- Classifiers for determining if a retry is necessary and related code.
Structs§
- AlwaysRetry
test-util
A retry classifier for testing purposes. This classifier always returnsSome(RetryAction::Error(ErrorKind))
whereErrorKind
is the value provided when creating this classifier. - A type to track the number of requests sent by the orchestrator for a given operation.
- A shared retry strategy.
Enums§
- Type of error that occurred when making a request.
- An answer to the question “should I make a request attempt?”
Traits§
- Decider for whether or not to attempt a request, and when.