Trait prefix_hex::FromHexPrefixed
source · [−]pub trait FromHexPrefixed: Sized {
fn from_hex_prefixed(hex: &str) -> Result<Self, Error>;
}Expand description
Tries to decode an hexadecimal encoded string with a 0x prefix.
Required methods
fn from_hex_prefixed(hex: &str) -> Result<Self, Error>
fn from_hex_prefixed(hex: &str) -> Result<Self, Error>
Tries to decode an hexadecimal encoded string with a 0x prefix.