pub trait FromHex: Sized {
    type Error: Display;

    // Required method
    fn from_hex(hex_str: &str) -> Result<Self, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn from_hex(hex_str: &str) -> Result<Self, Self::Error>

Implementations on Foreign Types§

source§

impl FromHex for Vec<u8>

Little endian format of full content (so string lengths must be even).

§

type Error = Error

source§

fn from_hex(hex_str: &str) -> Result<Self, Self::Error>

Implementors§