Enum duniter_documents::BlockUIdParseError
[−]
[src]
pub enum BlockUIdParseError { InvalidFormat(), InvalidBlockId(), InvalidBlockHash(), }
Type of errors for BlockUId
parsing.
Variants
InvalidFormat()
Given string have invalid format
InvalidBlockId()
BlockId
part is not a valid number.
InvalidBlockHash()
BlockHash
part is not a valid hex number.
Trait Implementations
impl Debug for BlockUIdParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for BlockUIdParseError
[src]
impl Clone for BlockUIdParseError
[src]
fn clone(&self) -> BlockUIdParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for BlockUIdParseError
[src]
fn eq(&self, __arg_0: &BlockUIdParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.