Function from_csv

Source
pub fn from_csv<T: DeserializeOwned + Clone, P: AsRef<Path>>(
    path: P,
) -> Result<Vec<T>, Io>
Expand description

Generic function to deserialize data types from a CSV file. Called by methods to avoid code duplication.