pub enum CredentialRetrievalError {
HelperCommunicationError,
MalformedHelperResponse,
HelperFailure {
helper: String,
stdout: String,
stderr: String,
},
CredentialDecodingError,
NoCredentialConfigured,
ConfigNotFound,
ConfigReadError,
}Expand description
An error that occurred whilst attempting to retrieve a credential.
Variants§
HelperCommunicationError
MalformedHelperResponse
HelperFailure
CredentialDecodingError
NoCredentialConfigured
ConfigNotFound
ConfigReadError
Trait Implementations§
Source§impl Debug for CredentialRetrievalError
impl Debug for CredentialRetrievalError
Source§impl Display for CredentialRetrievalError
impl Display for CredentialRetrievalError
Source§impl Error for CredentialRetrievalError
impl Error for CredentialRetrievalError
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()
Source§impl PartialEq for CredentialRetrievalError
impl PartialEq for CredentialRetrievalError
impl StructuralPartialEq for CredentialRetrievalError
Auto Trait Implementations§
impl Freeze for CredentialRetrievalError
impl RefUnwindSafe for CredentialRetrievalError
impl Send for CredentialRetrievalError
impl Sync for CredentialRetrievalError
impl Unpin for CredentialRetrievalError
impl UnwindSafe for CredentialRetrievalError
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