pub enum Kdbx3OpenError {
Version(DatabaseVersionParseError),
OuterHeader(Kdbx3OuterHeaderError),
BlockHashMismatch(usize),
Xml(XmlParseError),
}Variants§
Version(DatabaseVersionParseError)
OuterHeader(Kdbx3OuterHeaderError)
BlockHashMismatch(usize)
Xml(XmlParseError)
Trait Implementations§
Source§impl Debug for Kdbx3OpenError
impl Debug for Kdbx3OpenError
Source§impl Display for Kdbx3OpenError
impl Display for Kdbx3OpenError
Source§impl Error for Kdbx3OpenError
impl Error for Kdbx3OpenError
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<DatabaseVersionParseError> for Kdbx3OpenError
impl From<DatabaseVersionParseError> for Kdbx3OpenError
Source§fn from(source: DatabaseVersionParseError) -> Self
fn from(source: DatabaseVersionParseError) -> Self
Converts to this type from the input type.
Source§impl From<Kdbx3OpenError> for DatabaseIntegrityError
impl From<Kdbx3OpenError> for DatabaseIntegrityError
Source§fn from(source: Kdbx3OpenError) -> Self
fn from(source: Kdbx3OpenError) -> Self
Converts to this type from the input type.
Source§impl From<Kdbx3OuterHeaderError> for Kdbx3OpenError
impl From<Kdbx3OuterHeaderError> for Kdbx3OpenError
Source§fn from(source: Kdbx3OuterHeaderError) -> Self
fn from(source: Kdbx3OuterHeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Kdbx3OpenError
impl !UnwindSafe for Kdbx3OpenError
impl Freeze for Kdbx3OpenError
impl Send for Kdbx3OpenError
impl Sync for Kdbx3OpenError
impl Unpin for Kdbx3OpenError
impl UnsafeUnpin for Kdbx3OpenError
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