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.
Returns an error if the file is empty.
ยงArguments
file_path- Path to the CSV file