Struct asyncio::serial_port::SerialPort
[−]
[src]
pub struct SerialPort { /* fields omitted */ }
Methods
impl SerialPort
[src]
fn new<T>(io: &IoService, device: T) -> Result<SerialPort> where T: AsRef<str>
fn cancel(&self)
fn get_option<C>(&self) -> C where C: SerialPortOption
fn send_break(&self) -> Result<()>
fn set_option<C>(&mut self, cmd: C) -> Result<()> where C: SerialPortOption
Trait Implementations
impl IoObject for SerialPort
[src]
fn io_service(&self) -> &IoService
Returns a IoService
associated with this object.