Enum aws_smithy_types::retry::RetryMode [−][src]
#[non_exhaustive]
pub enum RetryMode {
Standard,
Adaptive,
}
Expand description
Specifies how failed requests should be retried.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Standard
The standard set of retry rules across AWS SDKs. This mode includes a standard set of errors
that are retried, and support for retry quotas. The default maximum number of attempts
with this mode is three, unless otherwise explicitly configured with RetryConfig
.
Adaptive
An experimental retry mode that includes the functionality of standard mode but includes automatic client-side throttling. Because this mode is experimental, it might change behavior in the future.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RetryMode
impl UnwindSafe for RetryMode
Blanket Implementations
Mutably borrows from an owned value. Read more