macro_rules! write_hex { ($dst:expr, $data:expr) => { ... }; }
Writes a byte slice in hexadecimal format to a fmt::Write target.
fmt::Write
let buf = [0x12, 0xAB, 0xFF]; write_hex!(logger, &buf);