Function mio_serial::available_ports []

pub fn available_ports() -> Result<Vec<SerialPortInfo>, Error>

Returns a list of all serial ports on system

It is not guaranteed that these ports exist or are available even if they're returned by this function.