Crate serial_enumerate

Source
Expand description

This crate provides an easy way to enumerate serial ports.

for device in serial_enumerate::enumerate_serial_ports().unwrap() {
    println!("{}", device);
}

Modules§

errors

Functions§

enumerate_serial_ports
Lists the serial ports that are connected to the computer