pub struct EnvironmentVariableRetryConfigProvider { /* private fields */ }Expand description
Load a retry_config from environment variables
This provider will check the values of AWS_RETRY_MODE and AWS_MAX_ATTEMPTS
in order to build a retry config.
Implementations
sourceimpl EnvironmentVariableRetryConfigProvider
impl EnvironmentVariableRetryConfigProvider
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new EnvironmentVariableRetryConfigProvider
sourcepub fn retry_config_builder(&self) -> Result<RetryConfigBuilder, RetryConfigErr>
pub fn retry_config_builder(&self) -> Result<RetryConfigBuilder, RetryConfigErr>
Attempt to create a new RetryConfig from environment variables
Trait Implementations
sourceimpl Default for EnvironmentVariableRetryConfigProvider
impl Default for EnvironmentVariableRetryConfigProvider
sourcefn default() -> EnvironmentVariableRetryConfigProvider
fn default() -> EnvironmentVariableRetryConfigProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EnvironmentVariableRetryConfigProvider
impl Send for EnvironmentVariableRetryConfigProvider
impl Sync for EnvironmentVariableRetryConfigProvider
impl Unpin for EnvironmentVariableRetryConfigProvider
impl UnwindSafe for EnvironmentVariableRetryConfigProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more