Struct aws_sdk_rust::aws::common::credentials::BaseAutoRefreshingProvider [] [src]

pub struct BaseAutoRefreshingProvider<P, T> {
    pub credentials_provider: P,
    // some fields omitted
}

Wrapper for AwsCredentialsProvider that caches the credentials returned by the wrapped provider. Each time the credentials are accessed, they are checked to see if they have expired, in which case they are retrieved from the wrapped provider again.

Fields

Trait Implementations

impl<P: AwsCredentialsProvider> AwsCredentialsProvider for BaseAutoRefreshingProvider<P, Mutex<AwsCredentials>>
[src]

Produce a new AwsCredentials.

impl<P: AwsCredentialsProvider> AwsCredentialsProvider for BaseAutoRefreshingProvider<P, RefCell<AwsCredentials>>
[src]

Produce a new AwsCredentials.