Enum serialport::SerialPortType[][src]

pub enum SerialPortType {
    UsbPort(UsbPortInfo),
    PciPort,
    BluetoothPort,
    Unknown,
}

The physical type of a SerialPort

Variants

The serial port is connected via USB

The serial port is connected via PCI (permanent port)

The serial port is connected via Bluetooth

It can't be determined how the serial port is connected

Trait Implementations

impl Debug for SerialPortType
[src]

Formats the value using the given formatter. Read more

impl Clone for SerialPortType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SerialPortType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SerialPortType
[src]

Auto Trait Implementations