[][src]Function csv::index::create_index

pub fn create_index<R, W>(rdr: Reader<R>, wtr: W) -> Result<()> where
    R: Read + Seek,
    W: Write

Creates a new index for the given CSV reader.

The CSV data is read from rdr and the index is written to wtr.