[][src]Enum keepass::result::DatabaseIntegrityError

pub enum DatabaseIntegrityError {
    Compression,
    Crypto {
        e: CryptoError,
    },
    HeaderHashMismatch,
    BlockHashMismatch {
        block_index: usize,
    },
    InvalidKDBXIdentifier,
    InvalidKDBXVersion {
        version: u32,
        file_major_version: u16,
        file_minor_version: u16,
    },
    InvalidOuterHeaderEntry {
        entry_type: u8,
    },
    IncompleteOuterHeader {
        missing_field: String,
    },
    InvalidInnerHeaderEntry {
        entry_type: u8,
    },
    IncompleteInnerHeader {
        missing_field: String,
    },
    InvalidKDFVersion {
        version: u32,
    },
    InvalidKDFUUID {
        uuid: Vec<u8>,
    },
    MissingKDFParams {
        key: String,
    },
    MistypedKDFParam {
        key: String,
    },
    InvalidOuterCipherID {
        cid: Vec<u8>,
    },
    InvalidInnerCipherID {
        cid: u32,
    },
    InvalidCompressionSuite {
        cid: u32,
    },
    InvalidVariantDictionaryVersion {
        version: u16,
    },
    InvalidVariantDictionaryValueType {
        value_type: u8,
    },
    XMLParsing {
        e: Error,
    },
    Base64 {
        e: DecodeError,
    },
    UTF8 {
        e: Utf8Error,
    },
}

Variants

Compression
Crypto

Fields of Crypto

e: CryptoError
HeaderHashMismatch
BlockHashMismatch

Fields of BlockHashMismatch

block_index: usize
InvalidKDBXIdentifier
InvalidKDBXVersion

Fields of InvalidKDBXVersion

version: u32file_major_version: u16file_minor_version: u16
InvalidOuterHeaderEntry

Fields of InvalidOuterHeaderEntry

entry_type: u8
IncompleteOuterHeader

Fields of IncompleteOuterHeader

missing_field: String
InvalidInnerHeaderEntry

Fields of InvalidInnerHeaderEntry

entry_type: u8
IncompleteInnerHeader

Fields of IncompleteInnerHeader

missing_field: String
InvalidKDFVersion

Fields of InvalidKDFVersion

version: u32
InvalidKDFUUID

Fields of InvalidKDFUUID

uuid: Vec<u8>
MissingKDFParams

Fields of MissingKDFParams

key: String
MistypedKDFParam

Fields of MistypedKDFParam

key: String
InvalidOuterCipherID

Fields of InvalidOuterCipherID

cid: Vec<u8>
InvalidInnerCipherID

Fields of InvalidInnerCipherID

cid: u32
InvalidCompressionSuite

Fields of InvalidCompressionSuite

cid: u32
InvalidVariantDictionaryVersion

Fields of InvalidVariantDictionaryVersion

version: u16
InvalidVariantDictionaryValueType

Fields of InvalidVariantDictionaryValueType

value_type: u8
XMLParsing

Fields of XMLParsing

e: Error
Base64

Fields of Base64

e: DecodeError
UTF8

Fields of UTF8

e: Utf8Error

Trait Implementations

impl Debug for DatabaseIntegrityError[src]

impl Display for DatabaseIntegrityError[src]

impl Error for DatabaseIntegrityError[src]

impl From<CryptoError> for DatabaseIntegrityError[src]

impl From<DatabaseIntegrityError> for Error[src]

impl From<DecodeError> for DatabaseIntegrityError[src]

impl From<Error> for DatabaseIntegrityError[src]

impl From<Utf8Error> for DatabaseIntegrityError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.