Enum bitcoin_hashes::hex::Error [−][src]
Expand description
Hex decoding error
Variants
InvalidChar(u8)
Tuple Fields
0: u8
non-hexadecimal character
OddLengthString(usize)
Tuple Fields
0: usize
purported hex string had odd length
InvalidLength(usize, usize)
tried to parse fixed-length hash from a string with the wrong type (expected, got)
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more