Trait mio_serial::SerialPortBuilderExt

source ·
pub trait SerialPortBuilderExt {
    // Required method
    fn open_native_async(self) -> Result<SerialStream>;
}
Expand description

An extension trait for SerialPortBuilder

This trait adds an additional method to SerialPortBuilder:

  • open_native_async

These methods mirror the open_native methods 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§