pub struct TTYSettings { /* private fields */ }Expand description
Serial port settings for TTY devices.
Trait Implementations§
Source§impl Clone for TTYSettings
impl Clone for TTYSettings
Source§fn clone(&self) -> TTYSettings
fn clone(&self) -> TTYSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TTYSettings
impl Debug for TTYSettings
Source§impl SerialPortSettings for TTYSettings
impl SerialPortSettings for TTYSettings
Source§fn flow_control(&self) -> Option<FlowControl>
fn flow_control(&self) -> Option<FlowControl>
Returns the flow control mode. Read more
Source§fn set_char_size(&mut self, char_size: CharSize)
fn set_char_size(&mut self, char_size: CharSize)
Sets the character size.
Source§fn set_parity(&mut self, parity: Parity)
fn set_parity(&mut self, parity: Parity)
Sets the parity-checking mode.
Source§fn set_stop_bits(&mut self, stop_bits: StopBits)
fn set_stop_bits(&mut self, stop_bits: StopBits)
Sets the number of stop bits.
Source§fn set_flow_control(&mut self, flow_control: FlowControl)
fn set_flow_control(&mut self, flow_control: FlowControl)
Sets the flow control mode.
impl Copy for TTYSettings
Auto Trait Implementations§
impl Freeze for TTYSettings
impl RefUnwindSafe for TTYSettings
impl Send for TTYSettings
impl Sync for TTYSettings
impl Unpin for TTYSettings
impl UnwindSafe for TTYSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more