format_value

Function format_value 

Source
pub fn format_value(key: u32, value: &[u8]) -> String
Expand description

A property’s value as something worth reading.

The scalar types read as numbers, booleans as on and off, keys as addresses, text as text. Anything whose shape is a structure rather than a scalar reads as hex, which is honest: the octets are the value, and a topic of info is where one gets interpreted.