pub struct SheetStreamReader<'a, R: BufRead> { /* private fields */ }Expand description
Forward-only streaming reader for worksheet XML.
Reads rows in batches without deserializing the entire worksheet into memory. The reader borrows the shared string table for resolving string cell references.
Implementations§
Source§impl<'a, R: BufRead> SheetStreamReader<'a, R>
impl<'a, R: BufRead> SheetStreamReader<'a, R>
Sourcepub fn new(
source: R,
sst: &'a SharedStringTable,
row_limit: Option<u32>,
) -> Self
pub fn new( source: R, sst: &'a SharedStringTable, row_limit: Option<u32>, ) -> Self
Create a new streaming reader over the given BufRead source.
sst is a reference to the shared string table for resolving
shared string cell values. row_limit optionally caps the number
of rows returned.
Auto Trait Implementations§
impl<'a, R> Freeze for SheetStreamReader<'a, R>where
R: Freeze,
impl<'a, R> RefUnwindSafe for SheetStreamReader<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for SheetStreamReader<'a, R>where
R: Send,
impl<'a, R> Sync for SheetStreamReader<'a, R>where
R: Sync,
impl<'a, R> Unpin for SheetStreamReader<'a, R>where
R: Unpin,
impl<'a, R> UnwindSafe for SheetStreamReader<'a, 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