pub fn available_ports() -> Result<Vec<SerialPortInfo>>
Expand description

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.