Struct serialport::SerialPortSettings [] [src]

pub struct SerialPortSettings {
    pub baud_rate: BaudRate,
    pub data_bits: DataBits,
    pub flow_control: FlowControl,
    pub parity: Parity,
    pub stop_bits: StopBits,
    pub timeout: Duration,
}

A struct containing all serial port settings

Fields

The baud rate in symbols-per-second

Number of bits used to represent a character sent on the line

The type of signalling to use for controlling data transfer

The type of parity to use for error checking

Number of bits to use to signal the end of a character

Amount of time to wait to receive data before timing out

Trait Implementations

impl Debug for SerialPortSettings
[src]

Formats the value using the given formatter.

impl Copy for SerialPortSettings
[src]

impl Clone for SerialPortSettings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Default for SerialPortSettings
[src]

Returns the "default value" for a type. Read more