Struct serial_io::SerialPortInfo [−][src]
pub struct SerialPortInfo {
pub port_name: String,
pub port_type: SerialPortType,
}Expand description
A device-independent implementation of serial port information
Fields
port_name: StringThe short name of the serial port
port_type: SerialPortTypeThe hardware device type that exposes this port
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SerialPortInfoimpl Send for SerialPortInfoimpl Sync for SerialPortInfoimpl Unpin for SerialPortInfoimpl UnwindSafe for SerialPortInfoBlanket Implementations
Mutably borrows from an owned value. Read more