pub enum KeyRingError {
ItemNotFound,
AccessDenied {
msg: String,
},
GeneralError {
msg: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for KeyRingError
impl Clone for KeyRingError
Source§fn clone(&self) -> KeyRingError
fn clone(&self) -> KeyRingError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
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 From<&str> for KeyRingError
impl From<&str> for KeyRingError
Source§impl From<Error> for KeyRingError
Available on Linux and crate feature linux-secret-service only.
impl From<Error> for KeyRingError
Available on Linux and crate feature
linux-secret-service only.Source§fn from(e: LinuxOsError) -> Self
fn from(e: LinuxOsError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for KeyRingError
Available on crate features file or encrypted-vfs only.
impl From<Error> for KeyRingError
Available on crate features
file or encrypted-vfs only.Source§impl PartialEq for KeyRingError
impl PartialEq for KeyRingError
Source§fn eq(&self, other: &KeyRingError) -> bool
fn eq(&self, other: &KeyRingError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KeyRingError
impl StructuralPartialEq for KeyRingError
Auto Trait Implementations§
impl Freeze for KeyRingError
impl RefUnwindSafe for KeyRingError
impl Send for KeyRingError
impl Sync for KeyRingError
impl Unpin for KeyRingError
impl UnsafeUnpin 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