pub enum ChainError {
Missing(String),
NoKeys(String),
PartialCredentials(String, &'static str),
RoleWithoutSource(String),
CredentialSource(String),
CredentialProcess(String),
WebIdentity(String),
SsoNotSupported(String),
MfaRequired(String),
Loop(String),
TooDeep(String),
FileUnreadable(String),
}Expand description
Why a profile chain could not be resolved. Each variant carries the profile name at fault.
Variants§
Missing(String)
NoKeys(String)
PartialCredentials(String, &'static str)
Half a key pair: the profile name, then the key it is missing.
RoleWithoutSource(String)
CredentialSource(String)
CredentialProcess(String)
WebIdentity(String)
web_identity_token_file: an OIDC sign-in purple does not perform.
SsoNotSupported(String)
MfaRequired(String)
Loop(String)
TooDeep(String)
FileUnreadable(String)
A file that is there but could not be opened. Carries the path rather than a profile name, because no profile could be read out of it.
Trait Implementations§
Source§impl Clone for ChainError
impl Clone for ChainError
Source§impl Debug for ChainError
impl Debug for ChainError
impl Eq for ChainError
Source§impl PartialEq for ChainError
impl PartialEq for ChainError
impl StructuralPartialEq for ChainError
Auto Trait Implementations§
impl Freeze for ChainError
impl RefUnwindSafe for ChainError
impl Send for ChainError
impl Sync for ChainError
impl Unpin for ChainError
impl UnsafeUnpin for ChainError
impl UnwindSafe for ChainError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more