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