pub fn read(&mut self) -> Result<[u8; UART_BYTES_READ as usize], RpiTestChannelError> {
        let mut buffer = [0; UART_BYTES_READ as usize];
        self.uart
            .read(&mut buffer)
            .map_err(|err| RpiTestChannelError::UartError { source: err })?;

        Ok(buffer)
    }
/// Reads the amount of Bytes specified by [`UART_BYTES_READ`] configuration constant. The function blocks until it can read the specified amount of Bytes or until the timeout [`UART_READ_TIMEOUT`] (ms) runs out.
Reads the amount of Bytes specified by [`UART_BYTES_READ`] configuration constant. The function blocks until it can read the specified amount of Bytes or until the timeout [`UART_READ_TIMEOUT`] (ms) runs out.
Reads the amount of Bytes specified by [ ` UART_BYTES_READ ` ] configuration constant . The function blocks until it can read the specified amount of Bytes or until the timeout [ ` UART_READ_TIMEOUT ` ] ( ms ) runs out .
pub fn read(&mut self) -> Result<[u8; UART_BYTES_READ as usize], RpiTestChannelError> {
        let mut buffer = [0; UART_BYTES_READ as usize];
        self.uart
            .read(&mut buffer)
            .map_err(|err| RpiTestChannelError::UartError { source: err })?;
        Ok(buffer)
    }
pub fn read ( & mut self ) -> Result < [ u8 ; UART_BYTES_READ as usize ] , RpiTestChannelError > { let mut buffer = [ 0 ; UART_BYTES_READ as usize ] ; self . uart . read ( & mut buffer ) . map_err ( | err | RpiTestChannelError :: UartError { source : err } ) ? ; Ok ( buffer ) }
Reads the amount of Bytes specified by [`UART_BYTES_READ`] configuration constant.
Reads the amount of Bytes specified by [ ` UART_BYTES_READ ` ] configuration constant .
&mut self