pub trait FromHexPrefixed: Sized {
    // Required method
    fn from_hex_prefixed<S: AsRef<str>>(hex: S) -> Result<Self, Error>;
}
Expand description

Tries to decode an hexadecimal encoded string with a 0x prefix.

Required Methods§

source

fn from_hex_prefixed<S: AsRef<str>>(hex: S) -> Result<Self, Error>

Tries to decode an hexadecimal encoded string with a 0x prefix.

Implementations on Foreign Types§

source§

impl<const N: usize> FromHexPrefixed for [u8; N]where Self: FromHex,

source§

fn from_hex_prefixed<S: AsRef<str>>(hex: S) -> Result<Self, Error>

source§

impl FromHexPrefixed for Vec<u8>

source§

fn from_hex_prefixed<S: AsRef<str>>(hex: S) -> Result<Self, Error>

Implementors§