pub fn parse_key_value<T: FromStr>( p: &HashMap<&str, &str>, key: &str, ) -> Result<Option<T>, Error>where T::Err: Display,