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
sourceimpl<T, E> ClassifyRetry<T, SdkError<E, Response>> for AwsResponseRetryClassifierwhere
E: ProvideErrorKind,
impl<T, E> ClassifyRetry<T, SdkError<E, Response>> for AwsResponseRetryClassifierwhere
E: ProvideErrorKind,
sourceimpl Clone for AwsResponseRetryClassifier
impl Clone for AwsResponseRetryClassifier
sourcefn clone(&self) -> AwsResponseRetryClassifier
fn clone(&self) -> AwsResponseRetryClassifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more