Enum hashcash::CheckError[][src]

pub enum CheckError {
    ExpiryError,
    DifficultyError,
}

Various error types that are used during the validation of a hashcash::Token.

Variants

Returned when validating a hashcash::Token and the date is older than two days.

Returned when validating a hashcash::Token and the resulting hash does not satisfy the declared difficulty bits.

Trait Implementations

impl Debug for CheckError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CheckError

impl Sync for CheckError