Skip to main content

reader_resource

Function reader_resource 

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

Create a Resource for a CSV reader.

The resource opens the file on acquire and is available for the duration of use_resource.