Enum hashcash::CheckError [−][src]
pub enum CheckError { ExpiryError, DifficultyError, }
Various error types that are used during the validation of a
hashcash::Token
.
Variants
ExpiryError
Returned when validating a hashcash::Token
and the date is older than
two days.
DifficultyError
Returned when validating a hashcash::Token
and the resulting hash
does not satisfy the declared difficulty bits.
Trait Implementations
impl Debug for CheckError
[src]
impl Debug for CheckError
Auto Trait Implementations
impl Send for CheckError
impl Send for CheckError
impl Sync for CheckError
impl Sync for CheckError