#[repr(C)]pub struct CsvReaderWithMap { /* private fields */ }
Implementations§
Source§impl CsvReaderWithMap
impl CsvReaderWithMap
Sourcepub fn get_config(&self) -> &CsvConfig
pub fn get_config(&self) -> &CsvConfig
§Get Config
- Extracts configuration reference
Sourcepub fn open<P: AsRef<Path>>(
path: P,
config: &CsvConfig,
) -> Result<CsvReaderWithMap, CsvError>
pub fn open<P: AsRef<Path>>( path: P, config: &CsvConfig, ) -> Result<CsvReaderWithMap, CsvError>
§Open
- Sync execution.
- Open a CSV file and create a memory-mapped reader.
Sourcepub fn next_raw(&mut self) -> Option<Row<'_>>
pub fn next_raw(&mut self) -> Option<Row<'_>>
§Next Raw
- Sync execution.
- Returns the next row of data from the CSV file as a slice of bytes.
Sourcepub fn advance_next(&mut self)
pub fn advance_next(&mut self)
§Advance Next
- Advance one line without returning it
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CsvReaderWithMap
impl RefUnwindSafe for CsvReaderWithMap
impl Send for CsvReaderWithMap
impl Sync for CsvReaderWithMap
impl Unpin for CsvReaderWithMap
impl UnwindSafe for CsvReaderWithMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more