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

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

Required Methods§

source

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

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

Implementations on Foreign Types§

source§

impl FromHexPrefixed for Vec<u8>

source§

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

Implementors§