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§
Implementations on Foreign Types§
Source§impl FromHexString for str
A default implementation for string slices
impl FromHexString for str
A default implementation for string slices