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§

source

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

Returns a future that provides credentials.

Trait Implementations§

source§

impl AsRef<dyn ProvideCredentials + 'static> for SharedCredentialsProvider

source§

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

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

Implementations on Foreign Types§

source§

impl ProvideCredentials for Arc<dyn ProvideCredentials>

source§

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

Implementors§