Trait rustc_serialize::hex::FromHex [] [src]

pub trait FromHex {
    fn from_hex(&self) -> Result<Vec<u8>, FromHexError>;
}

A trait for converting hexadecimal encoded values

Required Methods

fn from_hex(&self) -> Result<Vec<u8>, FromHexError>

Converts the value of self, interpreted as hexadecimal encoded data, into an owned vector of bytes, returning the vector.

Implementors