[]Struct tokio_serial::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

baud_rate: u32

The baud rate in symbols-per-second

data_bits: DataBits

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

flow_control: FlowControl

The type of signalling to use for controlling data transfer

parity: Parity

The type of parity to use for error checking

stop_bits: StopBits

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

timeout: Duration

Amount of time to wait to receive data before timing out

Trait Implementations

impl Clone for SerialPortSettings

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for SerialPortSettings

impl Copy for SerialPortSettings

impl Debug for SerialPortSettings

impl Default for SerialPortSettings

impl PartialEq<SerialPortSettings> for SerialPortSettings

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]

type Owned = T

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

type Error = !

🔬 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> BorrowMut for T where
    T: ?Sized
[src]

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

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T