[][src]Struct gattii::SerialPortSettings

pub struct SerialPortSettings {
    pub baud_rate: u32,
    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 Copy for SerialPortSettings
[src]

impl PartialEq<SerialPortSettings> for SerialPortSettings
[src]

impl Clone for SerialPortSettings
[src]

Performs copy-assignment from source. Read more

impl Default for SerialPortSettings
[src]

impl Debug for SerialPortSettings
[src]

impl Eq for SerialPortSettings
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]