Enum serialize::hex::FromHexErrorUnstable [-] [+] [src]

pub enum FromHexError {
    InvalidHexCharacter(char, usize),
    InvalidHexLength,
}

Errors that can occur when decoding a hex encoded string

Variants

InvalidHexCharacter

The input contained a character not part of the hex format

InvalidHexLength

The input had an invalid length

Trait Implementations

impl Display for FromHexError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for FromHexError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for FromHexError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for FromHexError

fn clone(&self) -> FromHexError

fn clone_from(&mut self, source: &Self)

impl Copy for FromHexError