Type Definition rusoto_credential::AutoRefreshingProvider
[−]
[src]
type AutoRefreshingProvider<P: ProvideAwsCredentials + 'static> = BaseAutoRefreshingProvider<P, RefCell<Shared<P::Future>>>;
!Sync
AutoRefreshingProvider
that caches credentials in a RefCell
Methods
impl<P: ProvideAwsCredentials + 'static> AutoRefreshingProvider<P>
[src]
pub fn with_refcell(
provider: P
) -> Result<AutoRefreshingProvider<P>, CredentialsError>
[src]
provider: P
) -> Result<AutoRefreshingProvider<P>, CredentialsError>
Grab a provider that locks it's credentials with a RefCell. If you're looking for Thread Safety, take a look at AutoRefreshingProviderSync.
Trait Implementations
impl<P: ProvideAwsCredentials + 'static> ProvideAwsCredentials for AutoRefreshingProvider<P>
[src]
type Future = AutoRefreshingProviderFuture<P>
The future response value.
fn credentials(&self) -> Self::Future
[src]
Produce a new AwsCredentials
future.