Enum serialport::SerialPortType
[−]
[src]
pub enum SerialPortType { UsbPort(UsbPortInfo), PciPort, BluetoothPort, Unknown, }
The physical type of a SerialPort
Variants
UsbPort(UsbPortInfo)
The serial port is connected via USB
PciPort
The serial port is connected via PCI (permanent port)
BluetoothPort
The serial port is connected via Bluetooth
Unknown
It can't be determined how the serial port is connected
Trait Implementations
impl Debug for SerialPortType
[src]
impl Clone for SerialPortType
[src]
fn clone(&self) -> SerialPortType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SerialPortType
[src]
fn eq(&self, __arg_0: &SerialPortType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SerialPortType) -> bool
[src]
This method tests for !=
.