Struct aws_smithy_types::retry::RetryConfig [−][src]
#[non_exhaustive]pub struct RetryConfig { /* fields omitted */ }
Expand description
Retry configuration for requests.
Implementations
Creates a default RetryConfig
with RetryMode::Standard
and max attempts of three.
Changes the retry mode.
Changes the max attempts. This value must be greater than zero.
Returns the max attempts.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RetryConfig
impl Send for RetryConfig
impl Sync for RetryConfig
impl Unpin for RetryConfig
impl UnwindSafe for RetryConfig
Blanket Implementations
Mutably borrows from an owned value. Read more