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]

[src]

Formats the value using the given formatter.

impl Clone for SerialPortType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SerialPortType
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for SerialPortType
[src]