pub struct TsvReader<R> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<R: Read + Send> SourceReader for TsvReader<R>
impl<R: Read + Send> SourceReader for TsvReader<R>
fn next_row(&mut self) -> Result<Option<SourceRow>>
fn headers(&self) -> &[String]
Source§fn reset(&mut self) -> Result<()>
fn reset(&mut self) -> Result<()>
Attempt to reset the reader to the beginning.
Returns
Ok(()) even if unsupported — check supports_reset() first.Source§fn supports_reset(&self) -> bool
fn supports_reset(&self) -> bool
Whether
reset() is actually supported by this reader.
Readers wrapping non-seekable streams (stdin, network) return false.Auto Trait Implementations§
impl<R> Freeze for TsvReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for TsvReader<R>where
R: RefUnwindSafe,
impl<R> Send for TsvReader<R>where
R: Send,
impl<R> Sync for TsvReader<R>where
R: Sync,
impl<R> Unpin for TsvReader<R>where
R: Unpin,
impl<R> UnsafeUnpin for TsvReader<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for TsvReader<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