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>> for AwsResponseRetryClassifierwhere
E: ProvideErrorKind,
impl<T, E> ClassifyRetry<T, SdkError<E>> 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 moresource§impl Debug for AwsResponseRetryClassifier
impl Debug for AwsResponseRetryClassifier
Auto Trait Implementations§
impl RefUnwindSafe for AwsResponseRetryClassifier
impl Send for AwsResponseRetryClassifier
impl Sync for AwsResponseRetryClassifier
impl Unpin for AwsResponseRetryClassifier
impl UnwindSafe for AwsResponseRetryClassifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more