//! Miscellaneous functions for opening serial ports.
use Cow;
use ;
use crateBaudRate;
/// Opens a serial port depending on the local operating system.
///
/// # Errors
/// For errors please refer to [`SerialPortBuilder::open_native()`](serialport::SerialPortBuilder::open_native())
/// and [`serialport::new()`].