pub enum CredentialSource {
ExplicitProfile(String),
ProviderMatch,
ActiveProfile(String),
}Expand description
Describes which resolution path produced the credential.
Variants§
ExplicitProfile(String)
An explicitly requested profile by name.
ProviderMatch
The active profile matched the requested provider.
ActiveProfile(String)
The active profile is for a different provider than requested. The caller should update its provider config to match.
Trait Implementations§
Source§impl Clone for CredentialSource
impl Clone for CredentialSource
Source§fn clone(&self) -> CredentialSource
fn clone(&self) -> CredentialSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CredentialSource
impl Debug for CredentialSource
Source§impl PartialEq for CredentialSource
impl PartialEq for CredentialSource
impl Eq for CredentialSource
impl StructuralPartialEq for CredentialSource
Auto Trait Implementations§
impl Freeze for CredentialSource
impl RefUnwindSafe for CredentialSource
impl Send for CredentialSource
impl Sync for CredentialSource
impl Unpin for CredentialSource
impl UnsafeUnpin for CredentialSource
impl UnwindSafe for CredentialSource
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