Enum blake::BlakeError [] [src]

pub enum BlakeError {
    Fail,
    BadHashbitlen,
}

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

Variants

Generic failure state

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

Trait Implementations

impl Debug for BlakeError
[src]

Formats the value using the given formatter.

impl Clone for BlakeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BlakeError
[src]

impl Hash for BlakeError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for BlakeError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for BlakeError
[src]

impl Error for BlakeError
[src]

A short description of the error. Read more

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

impl From<i32> for BlakeError
[src]

Passing incorrect error values yields unspecified behaviour.

impl Display for BlakeError
[src]

Formats the value using the given formatter. Read more