pub fn encode_response( adu: ResponseAdu<'_>, buf: &mut [u8], ) -> Result<usize, Error>
Encode an RTU response.