pub fn encode_to_display<E: Encode>(value: &E) -> Result<EncodedBytesOwned>Available on crate feature
alloc only.Expand description
Encode a value and return it wrapped for human-readable display.
Returns an EncodedBytesOwned that implements Display, LowerHex,
UpperHex, and provides a hex_dump() method.