pub fn open<P>(path: P, config: RecordReaderConfig) -> Result<Self>
    where
        P: AsRef<Path>,
    {
        let reader = BufReader::new(File::open(path.as_ref())?);
        let record_reader = Self::from_reader(reader, config);
        Ok(record_reader)
    }
/// Read records from a file.
Read records from a file.
Read records from a file .
pub fn open<P>(path: P, config: RecordReaderConfig) -> Result<Self>
    where
        P: AsRef<Path>,
    {
        let reader = BufReader::new(File::open(path.as_ref())?);
        let record_reader = Self::from_reader(reader, config);
        Ok(record_reader)
    }
pub fn open < P > ( path : P , config : RecordReaderConfig ) -> Result < Self > where P : AsRef < Path > , { let reader = BufReader :: new ( File :: open ( path . as_ref ( ) ) ? ) ; let record_reader = Self :: from_reader ( reader , config ) ; Ok ( record_reader ) }
Read records from a file.
Read records from a file .
path
P
config
RecordReaderConfig
path
P
config
RecordReaderConfig