CsvFile.writeRows
CsvResult!bool writeRows(R)(R rows)Write a sequence of rows to the file using a CsvWriter under the hood.
This convenience accepts any input range whose element type is accepted by CsvWriter.writeRow (e.g., string[], FieldView[], RowView, Tuple, user struct, or heterogeneous AliasSeq). The file is opened on demand, and the writer is flushed at the end. The file remains open.
Errors:
INVALID_DIALECTwhen the dialect is invalid.INVALID_MODEwhen called withmode == CsvOpenMode.READ.IO_FAILUREon open/write/flush failures.- Propagates writer errors such as
INVALID_ESCAPE.