Struct aws_http::retry::AwsResponseRetryClassifier
source · #[non_exhaustive]pub struct AwsResponseRetryClassifier;
Expand description
Implementation of ClassifyRetry
that classifies AWS error codes.
In order of priority:
- The
x-amz-retry-after
header is checked - The modeled error retry mode is checked
- The code is checked against a predetermined list of throttling errors & transient error codes
- The status code is checked against a predetermined list of status codes
Implementations§
Trait Implementations§
source§impl<T, E> ClassifyRetry<T, SdkError<E, Response>> for AwsResponseRetryClassifierwhere
E: ProvideErrorKind,
impl<T, E> ClassifyRetry<T, SdkError<E, Response>> for AwsResponseRetryClassifierwhere E: ProvideErrorKind,
source§impl Clone for AwsResponseRetryClassifier
impl Clone for AwsResponseRetryClassifier
source§fn clone(&self) -> AwsResponseRetryClassifier
fn clone(&self) -> AwsResponseRetryClassifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more