Trait PortScanner

Source
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§

Source

fn list_devices(&mut self) -> SerialResult<Vec<PortInfo>>

Lists avaliable serial ports on a system

Implementors§