pub fn to_string( config: WriterConfig, headers: Option<Vec<String>>, rows: Vec<Row>, ) -> Io<CsvError, String>
Write rows to a String (useful for testing).
String
Returns CsvError::Csv if any row fails to write.
CsvError::Csv