pub fn decode_frame(data: &[u8]) -> Result<(UnitId, &[u8]), DecodeError>
Decode a Modbus RTU frame, verifying the CRC and returning the unit ID and PDU slice.