Struct aws_config::default_provider::timeout_config::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
Builder for TimeoutConfig
that checks the environment variables and AWS profile files for configuration
Implementations
Configure the default chain
Exposed for overriding the environment when unit-testing providers
Override the profile name used by this provider
Attempt to create a TimeoutConfig
from following sources in order:
Precedence is considered on a per-field basis. If no timeout is specified, requests will never time out.
Panics
This will panic if:
- a timeout is set to
NaN
, a negative number, or infinity - a timeout can’t be parsed as a floating point number
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