Enum kdbx4::Error [−][src]
pub enum Error {
UnsupportedCipher(Vec<u8>),
UnsupportedKdf(Vec<u8>),
UnsupportedStreamCipher(Vec<u8>),
Decryption,
XmlParse,
BadFormat,
CorruptedFile,
Io(Error),
Other(String),
}
Variants
Unknown database cipher UUID.
Only ChaCha20
and AES256
are supported.
Unknown key derivation function UUID.
Only Argon2
and AES
are supported.
Unknown cipher for the inner stream (i.e. data encrypted within XML).
Only ChaCha20
and Salsa20
are supported.
Error during file decryption (see log output for more info).
Error during parsing XML.
Malformed KDBX4 file or unsupported features (see log output for more info).
Wrong password, key file or corrupted file.
Io(Error)
Tuple Fields of Io
0: Error
Other(String)
Tuple Fields of Other
0: String
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Performs the conversion.