Enum self_encryption::SelfEncryptionError [] [src]

pub enum SelfEncryptionError<E: StorageError> {
    Compression,
    Decryption,
    Io(IoError),
    Storage(E),
}

Errors which can arise during self-encryption or -decryption.

Variants

An error during compression or decompression.

An error within the symmetric encryption or decryption process.

A generic I/O error, likely arising from use of memmap.

An error in putting or retrieving chunks from the storage object.

Trait Implementations

impl<E: Debug + StorageError> Debug for SelfEncryptionError<E>
[src]

[src]

Formats the value using the given formatter.

impl<E: StorageError> Display for SelfEncryptionError<E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<E: StorageError> StdError for SelfEncryptionError<E>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl<E: StorageError> From<CompressionError> for SelfEncryptionError<E>
[src]

[src]

Performs the conversion.

impl<E: StorageError> From<()> for SelfEncryptionError<E>
[src]

[src]

Performs the conversion.

impl<E: StorageError> From<IoError> for SelfEncryptionError<E>
[src]

[src]

Performs the conversion.

impl<E: StorageError> From<E> for SelfEncryptionError<E>
[src]

[src]

Performs the conversion.