pub trait ProvideCredentials: Send + Sync + Debug {
// Required method
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a> ⓘ
where Self: 'a;
}
Expand description
Asynchronous Credentials Provider
Required Methods§
sourcefn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a> ⓘwhere
Self: 'a,
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a> ⓘwhere Self: 'a,
Returns a future that provides credentials.
Trait Implementations§
source§fn as_ref(&self) -> &(dyn ProvideCredentials + 'static)
fn as_ref(&self) -> &(dyn ProvideCredentials + 'static)
Converts this type into a shared reference of the (usually inferred) input type.