pub struct FastStreamingParser { /* private fields */ }
Expand description
High-performance streaming parser optimized for 280+ MB/s
Implementations§
Source§impl FastStreamingParser
impl FastStreamingParser
pub fn new(config: StreamingConfig) -> Self
pub fn parse_streaming<R: BufRead>( &mut self, reader: &mut R, _progress_callback: Option<Box<dyn FnMut(StreamingProgress)>>, ) -> Result<FastStreamingIterator, ParseError>
Sourcepub fn get_stats(&self) -> FastParsingStats
pub fn get_stats(&self) -> FastParsingStats
Get current parsing statistics
Auto Trait Implementations§
impl Freeze for FastStreamingParser
impl RefUnwindSafe for FastStreamingParser
impl Send for FastStreamingParser
impl Sync for FastStreamingParser
impl Unpin for FastStreamingParser
impl UnwindSafe for FastStreamingParser
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