Struct aws_config::default_provider::retry_config::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
Builder for RetryConfig that checks the environment and aws profile for configuration
Implementations
Override the profile name used by this provider
Attempt to create a RetryConfig from following sources in order:
Precedence is considered on a per-field basis
Panics
- Panics if the
AWS_MAX_ATTEMPTS
env var ormax_attempts
profile var is set to 0 - Panics if the
AWS_RETRY_MODE
env var orretry_mode
profile var is set to “adaptive” (it’s not yet supported)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Builder
impl !UnwindSafe for Builder
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