Struct serial_enumerator::SerialInfo [−][src]
pub struct SerialInfo {
pub name: String,
pub vendor: Option<String>,
pub product: Option<String>,
pub driver: Option<String>,
pub usb_info: Option<UsbInfo>,
}
Expand description
serial port informations
Fields
name: String
serial port name
vendor: Option<String>
vendor info
product: Option<String>
product info
driver: Option<String>
linux only, driver name of current serial port
usb_info: Option<UsbInfo>
usb serial port only, vid and pid provided