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 Debug for FromHexError

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

impl Error for FromHexError

fn description(&self) -> &str

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

impl Display for FromHexError

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

Derived Implementations

impl Copy for FromHexError

impl Clone for FromHexError

fn clone(&self) -> FromHexError

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