pub trait ProvideCachedCredentials: Send + Sync + Debug {
    // Required method
    fn provide_cached_credentials<'a>(&'a self) -> ProvideCredentials<'a> 
       where Self: 'a;
}
Expand description

Asynchronous Cached Credentials Provider

Required Methods§

source

fn provide_cached_credentials<'a>(&'a self) -> ProvideCredentials<'a> where Self: 'a,

Returns a future that provides cached credentials.

Trait Implementations§

source§

impl AsRef<dyn ProvideCachedCredentials> for SharedCredentialsCache

source§

fn as_ref(&self) -> &(dyn ProvideCachedCredentials + 'static)

Converts this type into a shared reference of the (usually inferred) input type.

Implementors§