pub fn convert<From: Read, To: Write>( from_type: &FromType, to_type: &ToType, input: From, output: To, ) -> Result<(), String>