Enum chacha20_poly1305_aead::DecryptError
[−]
[src]
pub enum DecryptError { TagMismatch, IoError(Error), }
Error returned from the decrypt
function.
Variants
TagMismatch
The calculated Poly1305 tag did not match the given tag.
IoError(Error)
There was an error writing the output.
Trait Implementations
impl Debug for DecryptError
[src]
impl Display for DecryptError
[src]
impl Error for DecryptError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more