pub trait PortScanner {
// Required method
fn list_devices(&mut self) -> SerialResult<Vec<PortInfo>>;
}
Expand description
Scanner to list avaliable serial ports on a system
Required Methods§
Sourcefn list_devices(&mut self) -> SerialResult<Vec<PortInfo>>
fn list_devices(&mut self) -> SerialResult<Vec<PortInfo>>
Lists avaliable serial ports on a system