[][src]Enum self_encryption::SelfEncryptionError

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

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

Variants

Compression

An error during compression or decompression.

Cipher(String)

An error during initializing CBC-AES cipher instance.

Encryption

An error within the symmetric encryption process.

Decryption(String)

An error within the symmetric decryption process.

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

Storage(E)

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

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<E> Send for SelfEncryptionError<E> where
    E: Send

impl<E> Sync for SelfEncryptionError<E> where
    E: Sync

impl<E> Unpin for SelfEncryptionError<E> where
    E: Unpin

impl<E> !UnwindSafe for SelfEncryptionError<E>

impl<E> !RefUnwindSafe for SelfEncryptionError<E>

Blanket Implementations

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

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

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

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

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

type Error = !

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self