Struct rusoto_credential::BaseAutoRefreshingProvider [] [src]

pub struct BaseAutoRefreshingProvider<P, T> { /* fields omitted */ }

Wrapper for ProvideAwsCredentials 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.

Trait Implementations

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

Produce a new AwsCredentials.

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

Produce a new AwsCredentials.