pub trait ToHex { // Required methods fn to_hex(&self) -> String; fn from_hex(str: &str) -> Result<Self> where Self: Sized; }
A generic type that can be converted to a hexadecimal string.
Hexadecimal representation of this type.
Tries to parse the type from the hexadecimal representation.