Trait tokio_serial::SerialPortBuilderExt [−][src]
pub trait SerialPortBuilderExt { fn open_native_async(self) -> Result<SerialStream>; }
Expand description
An extension trait for serialport::SerialPortBuilder
This trait adds one method to SerialPortBuilder:
- open_native_async
This method mirrors the open_native
method of SerialPortBuilder
Required methods
fn open_native_async(self) -> Result<SerialStream>
fn open_native_async(self) -> Result<SerialStream>
Open a platform-specific interface to the port with the specified settings