[][src]Struct portable_pty::serial::SerialTty

pub struct SerialTty { /* fields omitted */ }

Implementations

impl SerialTty[src]

pub fn new<T: AsRef<OsStr> + ?Sized>(port: &T) -> Self[src]

pub fn set_baud_rate(&mut self, baud: BaudRate)[src]

pub fn set_char_size(&mut self, char_size: CharSize)[src]

pub fn set_parity(&mut self, parity: Parity)[src]

pub fn set_stop_bits(&mut self, stop_bits: StopBits)[src]

pub fn set_flow_control(&mut self, flow_control: FlowControl)[src]

Trait Implementations

impl PtySystem for SerialTty[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.