decode_status

Function decode_status 

Source
pub fn decode_status(value: &[u8]) -> Status
Expand description

Decode a PROP_LAST_STATUS value. Anything malformed reads as STATUS_FAILURE, which is what a device unable to say why would mean.