#[non_exhaustive]pub enum ParseXmlError {
Xml(DeError),
Unprotect(UnprotectError),
}Expand description
Errors that can occur during parsing of the inner XML database of a KDBX file
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.
Xml(DeError)
Errors related to XML deserialization or serialization.
Unprotect(UnprotectError)
Errors related to unprotecting entries, such as decryption failures or unsupported encryption methods.
Trait Implementations§
Source§impl Debug for ParseXmlError
impl Debug for ParseXmlError
Source§impl Display for ParseXmlError
impl Display for ParseXmlError
Source§impl Error for ParseXmlError
impl Error for ParseXmlError
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<DeError> for ParseXmlError
impl From<DeError> for ParseXmlError
Source§impl From<ParseXmlError> for Kdbx3OpenError
impl From<ParseXmlError> for Kdbx3OpenError
Source§fn from(source: ParseXmlError) -> Self
fn from(source: ParseXmlError) -> Self
Converts to this type from the input type.
Source§impl From<ParseXmlError> for Kdbx4OpenError
impl From<ParseXmlError> for Kdbx4OpenError
Source§fn from(source: ParseXmlError) -> Self
fn from(source: ParseXmlError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ParseXmlError
impl !UnwindSafe for ParseXmlError
impl Freeze for ParseXmlError
impl Send for ParseXmlError
impl Sync for ParseXmlError
impl Unpin for ParseXmlError
impl UnsafeUnpin for ParseXmlError
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