Trait tokio_serial::SerialPortBuilderExt

source ·
pub trait SerialPortBuilderExt {
    // Required method
    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§

source

fn open_native_async(self) -> Result<SerialStream>

Open a platform-specific interface to the port with the specified settings

Implementors§