to_writer_hex_bytes

Function to_writer_hex_bytes 

Source
pub fn to_writer_hex_bytes<W, T>(writer: W, value: &T) -> Result<(), W::Error>
where W: SerWrite, <W as SerWrite>::Error: Display + Debug, T: Serialize + ?Sized,
Expand description

Serialize value as JSON to a SerWrite implementation.

Serialize bytes as HEX-encoded strings.