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

Makes the provider fetch credentials with a specified timeout.

  • timeout - The Duration of time to wait for before timing out with an error.

Implementors