Struct aws_config::ecs::EcsCredentialsProvider
source · [−]pub struct EcsCredentialsProvider { /* private fields */ }
Expand description
Credential provider for ECS and generalized HTTP credentials
See the module documentation for more details.
This credential provider is part of the default chain.
Implementations
sourceimpl EcsCredentialsProvider
impl EcsCredentialsProvider
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Builder for EcsCredentialsProvider
sourcepub async fn credentials(&self) -> Result
pub async fn credentials(&self) -> Result
Load credentials from this credentials provider
Trait Implementations
sourceimpl Debug for EcsCredentialsProvider
impl Debug for EcsCredentialsProvider
sourceimpl ProvideCredentials for EcsCredentialsProvider
impl ProvideCredentials for EcsCredentialsProvider
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.
Auto Trait Implementations
impl !RefUnwindSafe for EcsCredentialsProvider
impl Send for EcsCredentialsProvider
impl Sync for EcsCredentialsProvider
impl Unpin for EcsCredentialsProvider
impl !UnwindSafe for EcsCredentialsProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more