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: String
The short name of the serial port
port_type: SerialPortType
The 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 SerialPortInfo
impl Send for SerialPortInfo
impl Sync for SerialPortInfo
impl Unpin for SerialPortInfo
impl UnwindSafe for SerialPortInfo
Blanket Implementations
Mutably borrows from an owned value. Read more