Trait tari_utilities::hex::Hex
source · pub trait Hex {
// Required methods
fn from_hex(hex: &str) -> Result<Self, HexError>
where Self: Sized;
fn to_hex(&self) -> String;
}
Expand description
Any object implementing this trait has the ability to represent itself as a hexadecimal string and convert from it.