Trait rusoto_credential::ProvideTimeoutableAwsCredentials
[−]
[src]
pub trait ProvideTimeoutableAwsCredentials { fn credentials_with_timeout(
&self,
timeout: StdDuration
) -> Result<AwsCredentials, CredentialsError>; }
A Trait for types that produce AwsCredentials
that can timeout.
Required Methods
fn credentials_with_timeout(
&self,
timeout: StdDuration
) -> Result<AwsCredentials, CredentialsError>
&self,
timeout: StdDuration
) -> Result<AwsCredentials, CredentialsError>
Makes the provider fetch credentials with a specified timeout.
timeout
- The Duration of time to wait for before timing out with an error.
Implementors
impl ProvideTimeoutableAwsCredentials for ContainerProvider
impl ProvideTimeoutableAwsCredentials for InstanceMetadataProvider
impl<P: ProvideTimeoutableAwsCredentials> ProvideTimeoutableAwsCredentials for BaseAutoRefreshingProvider<P, RefCell<AwsCredentials>>
impl ProvideTimeoutableAwsCredentials for ChainProvider