pub trait WriteHex {
// Required method
fn write_hex<W: Write>(&self, writer: W) -> Result;
}
Expand description
Encode a value as a hex string.
Implementors of this trait should not write the 0x
prefix.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.