pub struct Reader<R> { /* private fields */ }Implementations§
Source§impl<R: Read> Reader<R>
impl<R: Read> Reader<R>
pub fn from_reader(reader: R) -> Self
pub fn byte_headers(&mut self) -> Result<&ByteRecord, Error>
pub fn read_byte_record( &mut self, record: &mut ByteRecord, ) -> Result<bool, Error>
pub fn byte_records(&mut self) -> ByteRecordsIter<'_, R>
pub fn into_byte_records(self) -> ByteRecordsIntoIter<R>
Auto Trait Implementations§
impl<R> Freeze for Reader<R>where
R: Freeze,
impl<R> RefUnwindSafe for Reader<R>where
R: RefUnwindSafe,
impl<R> Send for Reader<R>where
R: Send,
impl<R> Sync for Reader<R>where
R: Sync,
impl<R> Unpin for Reader<R>where
R: Unpin,
impl<R> UnwindSafe for Reader<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