Struct rusoto_core::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.

Methods

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

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

impl BaseAutoRefreshingProvider<ChainProvider, RefCell<AwsCredentials>>
[src]

impl BaseAutoRefreshingProvider<ChainProvider, Mutex<AwsCredentials>>
[src]

Trait Implementations

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

Produce a new AwsCredentials.

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

Produce a new AwsCredentials.

impl<P, T> Debug for BaseAutoRefreshingProvider<P, T> where
    P: Debug,
    T: Debug
[src]

Formats the value using the given formatter.