Enum crypto_api_chachapoly::ChachaPolyError [−][src]
pub enum ChachaPolyError {
InvalidData,
ApiMisuse(&'static str),
}
Expand description
A ChaChaPoly-related error
Variants
The processed data is invalid (MAC-mismatch)
ApiMisuse(&'static str)
An API misuse happened
Tuple Fields of ApiMisuse
0: &'static str
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ChachaPolyError
impl Send for ChachaPolyError
impl Sync for ChachaPolyError
impl Unpin for ChachaPolyError
impl UnwindSafe for ChachaPolyError
Blanket Implementations
Mutably borrows from an owned value. Read more