Struct mio_serial::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 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