Enum rustc-serialize::hex::FromHexError [-]  [+] [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 Show for FromHexError

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

impl Error for FromHexError

fn description(&self) -> &str

fn detail(&self) -> Option<String>

fn cause(&self) -> Option<&Error + 'static>

Derived Implementations

impl Copy for FromHexError