Trait serialize::hex::FromHex
[−]
[src]
pub trait FromHex {
fn from_hex(&self) -> Result<Vec<u8>, FromHexError>;
}Unstable (
rustc_private): deprecated in favor of rustc-serialize on crates.io
A trait for converting hexadecimal encoded values
Required Methods
fn from_hex(&self) -> Result<Vec<u8>, FromHexError>
Unstable (
rustc_private): deprecated in favor of rustc-serialize on crates.io
Converts the value of self, interpreted as hexadecimal encoded data,
into an owned vector of bytes, returning the vector.
Implementors
impl FromHex for str