pub fn write_all(
path: impl Into<String>,
config: WriterConfig,
headers: Option<Vec<String>>,
rows: Vec<Row>,
) -> Io<CsvError, ()>Expand description
Write rows to a file path.
ยงErrors
Returns CsvError::Io if the file cannot be created, or
CsvError::Csv if any row fails to write.