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§
sourcefn provide_cached_credentials<'a>(&'a self) -> ProvideCredentials<'a> ⓘwhere
Self: 'a,
fn provide_cached_credentials<'a>(&'a self) -> ProvideCredentials<'a> ⓘwhere Self: 'a,
Returns a future that provides cached credentials.
Trait Implementations§
source§fn as_ref(&self) -> &(dyn ProvideCachedCredentials + 'static)
fn as_ref(&self) -> &(dyn ProvideCachedCredentials + 'static)
Converts this type into a shared reference of the (usually inferred) input type.