Enum bitcoin::util::hash::HexError[][src]

pub enum HexError {
    BadLength(usize),
    BadCharacter(char),
}

Hex deserialization error

Variants

Length was not 64 characters

Non-hex character in string

Trait Implementations

impl Copy for HexError
[src]

impl Clone for HexError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for HexError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HexError
[src]

impl Debug for HexError
[src]

Formats the value using the given formatter. Read more

impl Display for HexError
[src]

Formats the value using the given formatter. Read more

impl Error for HexError
[src]

The lower-level cause of this error, if any. Read more

This method is soft-deprecated. Read more

Auto Trait Implementations

impl Send for HexError

impl Sync for HexError