Struct aws_types::credentials::SharedCredentialsProvider [−][src]
pub struct SharedCredentialsProvider(_);
Expand description
Credentials Provider wrapper that may be shared
Newtype wrapper around ProvideCredentials that implements Clone using an internal Arc.
Implementations
Create a new SharedCredentials provider from ProvideCredentials
The given provider will be wrapped in an internal Arc
. If your
provider is already in an Arc
, use SharedCredentialsProvider::from(provider)
instead.
Trait Implementations
Performs the conversion.
Performs the conversion.
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a>ⓘNotable traits for ProvideCredentials<'_>impl Future for ProvideCredentials<'_> type Output = Result;
where
Self: 'a,
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a>ⓘNotable traits for ProvideCredentials<'_>impl Future for ProvideCredentials<'_> type Output = Result;
where
Self: 'a,
Notable traits for ProvideCredentials<'_>
impl Future for ProvideCredentials<'_> type Output = Result;
Returns a future that provides credentials.
Auto Trait Implementations
impl !RefUnwindSafe for SharedCredentialsProvider
impl Send for SharedCredentialsProvider
impl Sync for SharedCredentialsProvider
impl Unpin for SharedCredentialsProvider
impl !UnwindSafe for SharedCredentialsProvider
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more