pub fn open<'a, S>(port_name: S) -> Result<Box<SerialStream>, Error>where S: Into<Cow<'a, str>> + Debug,