Struct aws_http::retry::AwsErrorRetryPolicy [−][src]
#[non_exhaustive]pub struct AwsErrorRetryPolicy;
Expand description
A retry policy that models AWS error codes as outlined in the SEP
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
impl<T, E> ClassifyResponse<T, SdkError<E, Response>> for AwsErrorRetryPolicy where
E: ProvideErrorKind,
impl<T, E> ClassifyResponse<T, SdkError<E, Response>> for AwsErrorRetryPolicy where
E: ProvideErrorKind,
Auto Trait Implementations
impl RefUnwindSafe for AwsErrorRetryPolicy
impl Send for AwsErrorRetryPolicy
impl Sync for AwsErrorRetryPolicy
impl Unpin for AwsErrorRetryPolicy
impl UnwindSafe for AwsErrorRetryPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more