Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive Clone for various Credentials related Structs #1649

merged 3 commits into from Jan 17, 2020
Show file tree
Hide file tree
Changes from all commits
File filter

Filter by extension

Filter by extension

Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions
Expand Up @@ -18,6 +18,7 @@
- Improve `InstanceMetadataProvider` to avoid cloning unnecessarily
- Remove deprecated `Error::description` implementations
- Add features `serialize_structs` and `deserialize_structs`
- Implement Clone on various Credential structs.

## [0.42.0] - 2019-11-18

Expand Down
3 changes: 3 additions & 0 deletions rusoto/credential/src/
Expand Up @@ -368,6 +368,7 @@ impl<P: ProvideAwsCredentials + 'static> Clone for AutoRefreshingFutureInner<P>

/// Future returned from `AutoRefreshingProvider`.
pub struct AutoRefreshingProviderFuture<P: ProvideAwsCredentials + 'static> {
inner: AutoRefreshingFutureInner<P>,
Expand Down Expand Up @@ -425,6 +426,7 @@ impl<P: ProvideAwsCredentials + 'static> ProvideAwsCredentials for AutoRefreshin
/// is as locked down as possible using security best practices for your operating system.
/// [credential_process]:
pub struct DefaultCredentialsProvider(AutoRefreshingProvider<ChainProvider>);

impl DefaultCredentialsProvider {
Expand All @@ -445,6 +447,7 @@ impl ProvideAwsCredentials for DefaultCredentialsProvider {

/// Future returned from `DefaultCredentialsProvider`.
pub struct DefaultCredentialsProviderFuture(AutoRefreshingProviderFuture<ChainProvider>);

impl Future for DefaultCredentialsProviderFuture {
Expand Down