Enum bitcoin::util::hash::HexError
[−]
[src]
pub enum HexError { BadLength(usize), BadCharacter(char), }
Hex deserialization error
Variants
BadLength(usize)
Length was not 64 characters
BadCharacter(char)
Non-hex character in string
Trait Implementations
impl Debug for HexError
[src]
impl Eq for HexError
[src]
impl PartialEq for HexError
[src]
fn eq(&self, __arg_0: &HexError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HexError) -> bool
This method tests for !=
.
impl Clone for HexError
[src]
fn clone(&self) -> HexError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more