Enum aws_smithy_types::retry::RetryConfigErr [−][src]
#[non_exhaustive]
pub enum RetryConfigErr {
InvalidRetryMode {
source: RetryModeParseErr,
set_by: Cow<'static, str>,
},
MaxAttemptsMustNotBeZero {
set_by: Cow<'static, str>,
},
FailedToParseMaxAttempts {
source: ParseIntError,
set_by: Cow<'static, str>,
},
AdaptiveModeIsNotSupported {
set_by: Cow<'static, str>,
},
}
Expand description
Failure to parse retry config from profile file or environment variable.
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.
The configured retry mode wasn’t recognized.
Fields of InvalidRetryMode
source: RetryModeParseErr
Cause of the error.
set_by: Cow<'static, str>
Where the invalid retry mode value originated from.
Max attempts must be greater than zero.
Fields of MaxAttemptsMustNotBeZero
The max attempts value couldn’t be parsed to an integer.
Fields of FailedToParseMaxAttempts
source: ParseIntError
Cause of the error.
set_by: Cow<'static, str>
Where the invalid max attempts value originated from.
The adaptive retry mode hasn’t been implemented yet.