pub fn write(&mut self, data: &[u8]) -> Result<(), RpiTestChannelError> {
        self.uart
            .write(data)
            .map_err(|err| RpiTestChannelError::UartError { source: err })?;

        Ok(())
    }
/// Function writes the content of the provided slice and blocks until the entire data has been copied to the peripherals output queue.
Function writes the content of the provided slice and blocks until the entire data has been copied to the peripherals output queue.
Function writes the content of the provided slice and blocks until the entire data has been copied to the peripherals output queue .
pub fn write(&mut self, data: &[u8]) -> Result<(), RpiTestChannelError> {
        self.uart
            .write(data)
            .map_err(|err| RpiTestChannelError::UartError { source: err })?;
        Ok(())
    }
pub fn write ( & mut self , data : & [ u8 ] ) -> Result < ( ) , RpiTestChannelError > { self . uart . write ( data ) . map_err ( | err | RpiTestChannelError :: UartError { source : err } ) ? ; Ok ( ( ) ) }
Function writes the content of the provided slice and blocks until the entire data has been copied to the peripherals output queue.
Function writes the content of the provided slice and blocks until the entire data has been copied to the peripherals output queue .
&mut self
data
&[u8]