#[non_exhaustive]pub enum OuterCipherConfigError {
Cryptography(CryptographyError),
InvalidOuterCipherID {
cid: Vec<u8>,
},
}Expand description
Errors with the configuration of the outer encryption
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cryptography(CryptographyError)
Errors with cryptographic operations
InvalidOuterCipherID
The identifier for the outer cipher specified in the database is invalid
Trait Implementations§
Source§impl Debug for OuterCipherConfigError
impl Debug for OuterCipherConfigError
Source§impl Display for OuterCipherConfigError
impl Display for OuterCipherConfigError
Source§impl Error for OuterCipherConfigError
impl Error for OuterCipherConfigError
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<CryptographyError> for OuterCipherConfigError
impl From<CryptographyError> for OuterCipherConfigError
Source§fn from(source: CryptographyError) -> Self
fn from(source: CryptographyError) -> Self
Converts to this type from the input type.
Source§impl From<OuterCipherConfigError> for Kdbx3OuterHeaderError
impl From<OuterCipherConfigError> for Kdbx3OuterHeaderError
Source§fn from(source: OuterCipherConfigError) -> Self
fn from(source: OuterCipherConfigError) -> Self
Converts to this type from the input type.
Source§impl From<OuterCipherConfigError> for Kdbx4OuterHeaderError
impl From<OuterCipherConfigError> for Kdbx4OuterHeaderError
Source§fn from(source: OuterCipherConfigError) -> Self
fn from(source: OuterCipherConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OuterCipherConfigError
impl RefUnwindSafe for OuterCipherConfigError
impl Send for OuterCipherConfigError
impl Sync for OuterCipherConfigError
impl Unpin for OuterCipherConfigError
impl UnsafeUnpin for OuterCipherConfigError
impl UnwindSafe for OuterCipherConfigError
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