Trait serial::SerialPortSettings [] [src]

pub trait SerialPortSettings {
    fn baud_rate(&self) -> BaudRate;
    fn char_size(&self) -> CharSize;
    fn parity(&self) -> Parity;
    fn stop_bits(&self) -> StopBits;
    fn flow_control(&self) -> FlowControl;
    fn set_baud_rate(&mut self, baud_rate: BaudRate);
    fn set_char_size(&mut self, char_size: CharSize);
    fn set_parity(&mut self, parity: Parity);
    fn set_stop_bits(&mut self, stop_bits: StopBits);
    fn set_flow_control(&mut self, flow_control: FlowControl);
}

Required Methods

fn baud_rate(&self) -> BaudRate

fn char_size(&self) -> CharSize

fn parity(&self) -> Parity

fn stop_bits(&self) -> StopBits

fn flow_control(&self) -> FlowControl

fn set_baud_rate(&mut self, baud_rate: BaudRate)

fn set_char_size(&mut self, char_size: CharSize)

fn set_parity(&mut self, parity: Parity)

fn set_stop_bits(&mut self, stop_bits: StopBits)

fn set_flow_control(&mut self, flow_control: FlowControl)

Implementors