pub enum WalletError {
FileMissing(String),
Io {
path: String,
source: Error,
},
Pem(String),
NoCertificates,
Sso(String),
SsoNotEnabled,
}Expand description
Errors raised while resolving or reading a wallet.
Variants§
FileMissing(String)
The wallet directory did not contain the expected file.
Io
An I/O error occurred reading the wallet.
Pem(String)
The PEM content could not be parsed.
NoCertificates
The wallet contained no usable trust-anchor certificates.
Sso(String)
SSO (cwallet.sso) parsing failure (experimental).
SsoNotEnabled
SSO support is not compiled in.
Trait Implementations§
Source§impl Debug for WalletError
impl Debug for WalletError
Source§impl Display for WalletError
impl Display for WalletError
Source§impl Error for WalletError
impl Error for WalletError
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 !RefUnwindSafe for WalletError
impl !UnwindSafe for WalletError
impl Freeze for WalletError
impl Send for WalletError
impl Sync for WalletError
impl Unpin for WalletError
impl UnsafeUnpin for WalletError
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