Skip to main content

stream_rows

Function stream_rows 

Source
pub fn stream_rows(
    path: impl Into<String>,
    config: ReaderConfig,
) -> Stream<CsvError, Row>
Expand description

Stream rows from a file path.

Returns a Stream that lazily reads one row at a time. The file handle is held open for the lifetime of the stream.

ยงErrors

Each step may produce CsvError::Io or CsvError::Csv.