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§
Source§impl 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§
Source§impl Debug for EcsCredentialsProvider
impl Debug for EcsCredentialsProvider
Source§impl ProvideCredentials for EcsCredentialsProvider
impl ProvideCredentials for EcsCredentialsProvider
Source§fn 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.
Source§fn fallback_on_interrupt(&self) -> Option<Credentials>
fn fallback_on_interrupt(&self) -> Option<Credentials>
Returns fallback credentials. Read more
Auto Trait Implementations§
impl !Freeze for EcsCredentialsProvider
impl !RefUnwindSafe for EcsCredentialsProvider
impl Send for EcsCredentialsProvider
impl Sync for EcsCredentialsProvider
impl Unpin for EcsCredentialsProvider
impl !UnwindSafe for EcsCredentialsProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.