pub fn open_port<S: AsRef<OsStr>>(name: S) -> Result<Box<dyn SerialPort>, Error>
Opens the named serial port with appropriate settings.