Struct serialport::SerialPortInfo[][src]

pub struct SerialPortInfo {
    pub port_name: String,
    pub port_type: SerialPortType,
}

A device-independent implementation of serial port information.

Fields

The short name of the serial port

The hardware device type that exposes this port

Trait Implementations

impl Debug for SerialPortInfo
[src]

Formats the value using the given formatter. Read more

impl Clone for SerialPortInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SerialPortInfo
[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 SerialPortInfo
[src]

Auto Trait Implementations