Skip to main content

SerialPortBuilderExt

Trait 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§