#[non_exhaustive]pub enum DatabaseFormatError {
Kdb(KdbOpenError),
Kdbx3(Kdbx3OpenError),
Kdbx4(Kdbx4OpenError),
}Expand description
Format-specific database parsing errors
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.
Kdb(KdbOpenError)
Errors related to parsing KDB files
Kdbx3(Kdbx3OpenError)
Errors related to parsing KDBX3 files
Kdbx4(Kdbx4OpenError)
Errors related to parsing KDBX4 files
Trait Implementations§
Source§impl Debug for DatabaseFormatError
impl Debug for DatabaseFormatError
Source§impl Display for DatabaseFormatError
impl Display for DatabaseFormatError
Source§impl Error for DatabaseFormatError
impl Error for DatabaseFormatError
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<DatabaseFormatError> for DatabaseOpenError
impl From<DatabaseFormatError> for DatabaseOpenError
Source§fn from(source: DatabaseFormatError) -> Self
fn from(source: DatabaseFormatError) -> Self
Converts to this type from the input type.
Source§impl From<KdbOpenError> for DatabaseFormatError
impl From<KdbOpenError> for DatabaseFormatError
Source§fn from(source: KdbOpenError) -> Self
fn from(source: KdbOpenError) -> Self
Converts to this type from the input type.
Source§impl From<Kdbx3OpenError> for DatabaseFormatError
impl From<Kdbx3OpenError> for DatabaseFormatError
Source§fn from(source: Kdbx3OpenError) -> Self
fn from(source: Kdbx3OpenError) -> Self
Converts to this type from the input type.
Source§impl From<Kdbx4OpenError> for DatabaseFormatError
impl From<Kdbx4OpenError> for DatabaseFormatError
Source§fn from(source: Kdbx4OpenError) -> Self
fn from(source: Kdbx4OpenError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DatabaseFormatError
impl !UnwindSafe for DatabaseFormatError
impl Freeze for DatabaseFormatError
impl Send for DatabaseFormatError
impl Sync for DatabaseFormatError
impl Unpin for DatabaseFormatError
impl UnsafeUnpin for DatabaseFormatError
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