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