[][src]Enum md6::Md6Error

pub enum Md6Error {
    Fail,
    BadHashbitlen,
}

Some functions in the library can fail, this enum represents all the possible ways they can.

Variants

Fail

Generic failure state

BadHashbitlen

hashbitlen passed to Md6::new() or hash() incorrect

Trait Implementations

impl Clone for Md6Error[src]

impl Copy for Md6Error[src]

impl Debug for Md6Error[src]

impl Display for Md6Error[src]

impl Eq for Md6Error[src]

impl Error for Md6Error[src]

impl From<i32> for Md6Error[src]

fn from(i: i32) -> Self[src]

Passing incorrect error values yields unspecified behaviour.

impl Hash for Md6Error[src]

impl PartialEq<Md6Error> for Md6Error[src]

impl StructuralEq for Md6Error[src]

impl StructuralPartialEq for Md6Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Md6Error

impl Send for Md6Error

impl Sync for Md6Error

impl Unpin for Md6Error

impl UnwindSafe for Md6Error

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.