pub enum WrappedKeyringError {
Authentication(WrappedKeyError),
Decryption(KeyError),
Payload(EncryptionError),
GenerationMismatch {
reference: u64,
payload: u64,
},
}Variants§
Trait Implementations§
Source§impl Debug for WrappedKeyringError
impl Debug for WrappedKeyringError
Source§impl Display for WrappedKeyringError
impl Display for WrappedKeyringError
Source§impl Error for WrappedKeyringError
impl Error for WrappedKeyringError
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<EncryptionError> for WrappedKeyringError
impl From<EncryptionError> for WrappedKeyringError
Source§fn from(source: EncryptionError) -> Self
fn from(source: EncryptionError) -> Self
Converts to this type from the input type.
Source§impl From<KeyError> for WrappedKeyringError
impl From<KeyError> for WrappedKeyringError
Source§impl From<WrappedKeyError> for WrappedKeyringError
impl From<WrappedKeyError> for WrappedKeyringError
Source§fn from(source: WrappedKeyError) -> Self
fn from(source: WrappedKeyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WrappedKeyringError
impl !RefUnwindSafe for WrappedKeyringError
impl Send for WrappedKeyringError
impl Sync for WrappedKeyringError
impl Unpin for WrappedKeyringError
impl UnsafeUnpin for WrappedKeyringError
impl !UnwindSafe for WrappedKeyringError
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