[][src]Enum arx_kw::ArxKwError

pub enum ArxKwError {
    InvalidLength(InvalidLengthError),
    ChaChaError(String),
    BadTags(AuthTagAuthTag),
}

The error type used by this crate.

Variants

InvalidLength(InvalidLengthError)

See InvalidLengthError

ChaChaError(String)

Occurs if a function using either ChaCha8 or XChaCha8 reaches the end of the stream

BadTags(AuthTagAuthTag)

Returns if an authentication tag mismatch occurs during decryption

Trait Implementations

impl Debug for ArxKwError[src]

impl Display for ArxKwError[src]

impl Error for ArxKwError[src]

impl From<InvalidLengthError> for ArxKwError[src]

Auto Trait Implementations

impl RefUnwindSafe for ArxKwError[src]

impl Send for ArxKwError[src]

impl Sync for ArxKwError[src]

impl Unpin for ArxKwError[src]

impl UnwindSafe for ArxKwError[src]

Blanket Implementations

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

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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 = Infallible

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.