muse2::input

Function read_csv

Source
pub fn read_csv<'a, T: DeserializeOwned + 'a>(
    file_path: &'a Path,
) -> Result<impl Iterator<Item = T> + 'a>
Expand description

Read a series of type Ts from a CSV file.

ยงArguments

  • file_path - Path to the CSV file