[−]Struct tokio_serial::SerialPortSettings
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 Default for SerialPortSettings
fn default() -> SerialPortSettings
impl StructuralPartialEq for SerialPortSettings
impl Clone for SerialPortSettings
fn clone(&self) -> SerialPortSettings
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SerialPortSettings> for SerialPortSettings
fn eq(&self, other: &SerialPortSettings) -> bool
fn ne(&self, other: &SerialPortSettings) -> bool
impl StructuralEq for SerialPortSettings
impl Eq for SerialPortSettings
impl Copy for SerialPortSettings
impl Debug for SerialPortSettings
Auto Trait Implementations
impl Send for SerialPortSettings
impl Sync for SerialPortSettings
impl Unpin for SerialPortSettings
impl UnwindSafe for SerialPortSettings
impl RefUnwindSafe for SerialPortSettings
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,