pub struct NdjsonPerRowDriver<R> { /* private fields */ }Expand description
Forward-only per-row NDJSON reader.
Implementations§
Source§impl<R: BufRead> NdjsonPerRowDriver<R>
impl<R: BufRead> NdjsonPerRowDriver<R>
pub fn new(reader: R) -> Self
pub fn with_max_line_len(self, max_line_len: usize) -> Self
pub fn line_no(&self) -> u64
Auto Trait Implementations§
impl<R> Freeze for NdjsonPerRowDriver<R>where
R: Freeze,
impl<R> RefUnwindSafe for NdjsonPerRowDriver<R>where
R: RefUnwindSafe,
impl<R> Send for NdjsonPerRowDriver<R>where
R: Send,
impl<R> Sync for NdjsonPerRowDriver<R>where
R: Sync,
impl<R> Unpin for NdjsonPerRowDriver<R>where
R: Unpin,
impl<R> UnsafeUnpin for NdjsonPerRowDriver<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for NdjsonPerRowDriver<R>where
R: UnwindSafe,
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