pub enum CredentialExchangeError {
ExchangeFailed(String),
NoExchanger(String),
Other(String),
}Expand description
Error from credential exchange.
Variants§
ExchangeFailed(String)
The credential exchange operation failed.
NoExchanger(String)
No exchanger is registered for the given scheme type.
Other(String)
A catch-all for other exchange errors.
Trait Implementations§
Source§impl Debug for CredentialExchangeError
impl Debug for CredentialExchangeError
Source§impl Display for CredentialExchangeError
impl Display for CredentialExchangeError
Source§impl Error for CredentialExchangeError
impl Error for CredentialExchangeError
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 CredentialExchangeError
impl RefUnwindSafe for CredentialExchangeError
impl Send for CredentialExchangeError
impl Sync for CredentialExchangeError
impl Unpin for CredentialExchangeError
impl UnwindSafe for CredentialExchangeError
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