pub fn read_port(port: u16, data: &mut [u8]) -> Result<&mut [u8], ()>
Expand description

Attempt to read data from a virtual serial port

On success, the portion read into the data buffer is returned.