/// Create a new parser that reads from the given file
Create a new parser that reads from the given file
Create a new parser that reads from the given file
pub fn new(file_path: &str) -> Result<Parser> {
        let rdr = ReaderBuilder::new()
            .flexible(true)
            .trim(csv::Trim::All)
            .from_path(file_path)?;
        Ok(Parser {
            reader: rdr,
            record: csv::StringRecord::new(),
        })
    }
pub fn new ( file_path : & str ) -> Result < Parser > { let rdr = ReaderBuilder :: new ( ) . flexible ( true ) . trim ( csv :: Trim :: All ) . from_path ( file_path ) ? ; Ok ( Parser { reader : rdr , record : csv :: StringRecord :: new ( ) , } ) }
Create a new parser that reads from the given file
Create a new parser that reads from the given file
file_path
&str