Struct rusoto_credential::BaseAutoRefreshingProvider [] [src]

pub struct BaseAutoRefreshingProvider<P: ProvideAwsCredentials + 'static, 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.

In order to access the wrapped provider, for instance to set a timeout, the get_ref and get_mut methods can be used.

Methods

impl<P: ProvideAwsCredentials + 'static, T> BaseAutoRefreshingProvider<P, T>
[src]

[src]

Get a shared reference to the wrapped provider.

[src]

Get a mutable reference to the wrapped provider.

This can be used to call set_timeout on the wrapped provider.

Trait Implementations

impl<P: Debug + ProvideAwsCredentials + 'static, T: Debug> Debug for BaseAutoRefreshingProvider<P, T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<P, T> Send for BaseAutoRefreshingProvider<P, T> where
    P: Send,
    T: Send

impl<P, T> Sync for BaseAutoRefreshingProvider<P, T> where
    P: Sync,
    T: Sync