Enum encryptfile::EncryptError [] [src]

pub enum EncryptError {
    ValidateFailed(ValidateError),
    OsRngFailed(Error),
    OutputFileExists,
    PwKeyIsZeroed,
    IvIsZeroed,
    IvEqualsCheckValue,
    HeaderTooSmall,
    ShortIvRead,
    ShortHmacRead,
    BadHeaderMagic,
    UnexpectedVersion(u32u32),
    InvalidHmacLength,
    HmacMismatch,
    InvalidPasswordGenMethod,
    InvalidKeyMetadataType(u32),
    UnexpectedEnumVariant(String),
    NoKeyMetadataFound(String),
    ByteOrderError(Error),
    IoError(Error),
    CryptoError(CryptoError),
    InternalError(String),
}

Variants

Trait Implementations

impl Debug for EncryptError
[src]

Formats the value using the given formatter.

impl From<Error> for EncryptError
[src]

Performs the conversion.

impl From<Error> for EncryptError
[src]

Performs the conversion.