FromHexString

Trait FromHexString 

Source
pub trait FromHexString {
    type Error;

    // Required method
    fn from_hex_string(&self) -> Result<Vec<u8>, Self::Error>;
}
Expand description

A simple trait allowing something to be converted from a hex string.

Required Associated Types§

Required Methods§

Source

fn from_hex_string(&self) -> Result<Vec<u8>, Self::Error>

Implementations on Foreign Types§

Source§

impl FromHexString for str

A default implementation for string slices

Implementors§