Enum chacha20_poly1305_aead::DecryptError [] [src]

pub enum DecryptError {
    TagMismatch,
    IoError(Error),
}

Error returned from the decrypt function.

Variants

The calculated Poly1305 tag did not match the given tag.

There was an error writing the output.

Trait Implementations

impl Debug for DecryptError
[src]

Formats the value using the given formatter.

impl Display for DecryptError
[src]

Formats the value using the given formatter. Read more

impl Error for DecryptError
[src]

A short description of the error. Read more

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

impl From<Error> for DecryptError
[src]

Performs the conversion.