pub struct MockCredentialsProvider;
Expand description
Provides a set of credentials that always resolve successfully
Trait Implementations§
Source§impl ProvideAwsCredentials for MockCredentialsProvider
impl ProvideAwsCredentials for MockCredentialsProvider
Source§fn credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AwsCredentials, CredentialsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn credentials<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AwsCredentials, CredentialsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Produce a new
AwsCredentials
future.Auto Trait Implementations§
impl Freeze for MockCredentialsProvider
impl RefUnwindSafe for MockCredentialsProvider
impl Send for MockCredentialsProvider
impl Sync for MockCredentialsProvider
impl Unpin for MockCredentialsProvider
impl UnwindSafe for MockCredentialsProvider
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