pub trait HexExt { // Required methods fn to_hex(&self) -> String; fn from_hex(s: &str) -> Result<Self, HexError> where Self: Sized; }
Extension trait for hex operations
Encode as hex string
Decode from hex string