Struct mio_serial::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 PartialEq<SerialPortInfo> for SerialPortInfo
[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 Clone for SerialPortInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for SerialPortInfo
[src]

impl Debug for SerialPortInfo
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations