pub enum CredentialAuthError {
Invalid,
Unavailable(String),
PolicyRejected(String),
}Expand description
Error returned by provider-backed credential checks.
Variants§
Invalid
Credentials were present but did not authenticate.
The backing provider could not answer the request.
PolicyRejected(String)
A configured security policy rejected the credential or request.
Trait Implementations§
Source§impl Debug for CredentialAuthError
impl Debug for CredentialAuthError
Source§impl Display for CredentialAuthError
impl Display for CredentialAuthError
Source§impl Error for CredentialAuthError
impl Error for CredentialAuthError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CredentialAuthError
impl RefUnwindSafe for CredentialAuthError
impl Send for CredentialAuthError
impl Sync for CredentialAuthError
impl Unpin for CredentialAuthError
impl UnsafeUnpin for CredentialAuthError
impl UnwindSafe for CredentialAuthError
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