Enum keyring_manager::KeyringError
source · pub enum KeyringError {
IoError(Error),
SecretServiceError(Error),
NoBackendFound,
NoPasswordFound,
Parse(FromUtf8Error),
Generic(String),
}
Variants§
IoError(Error)
SecretServiceError(Error)
NoBackendFound
NoPasswordFound
Parse(FromUtf8Error)
Generic(String)
Trait Implementations§
source§impl Debug for KeyringError
impl Debug for KeyringError
source§impl Display for KeyringError
impl Display for KeyringError
source§impl Error for KeyringError
impl Error for KeyringError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<Error> for KeyringError
impl From<Error> for KeyringError
source§fn from(err: SsError) -> KeyringError
fn from(err: SsError) -> KeyringError
Converts to this type from the input type.
source§impl From<Error> for KeyringError
impl From<Error> for KeyringError
source§fn from(err: Error) -> KeyringError
fn from(err: Error) -> KeyringError
Converts to this type from the input type.
source§impl From<FromUtf8Error> for KeyringError
impl From<FromUtf8Error> for KeyringError
source§fn from(err: FromUtf8Error) -> KeyringError
fn from(err: FromUtf8Error) -> KeyringError
Converts to this type from the input type.
source§impl From<String> for KeyringError
impl From<String> for KeyringError
source§fn from(err: String) -> KeyringError
fn from(err: String) -> KeyringError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KeyringError
impl Send for KeyringError
impl Sync for KeyringError
impl Unpin for KeyringError
impl !UnwindSafe for KeyringError
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