pub trait WriteHex { // Required method fn write_hex<W: Write>(&self, writer: W) -> Result; }
Encode a value as a hex string.
Implementors of this trait should not write the 0x prefix.
0x
Write the value as hex.