pub struct AlignedStreamingParser<R: BufRead> { /* private fields */ }Expand description
Model-aligned streaming parser
Implementations§
Source§impl<R: BufRead> AlignedStreamingParser<R>
impl<R: BufRead> AlignedStreamingParser<R>
pub fn new(reader: R, _version: ERNVersion) -> Self
pub fn parse_next( &mut self, ) -> Result<Option<AlignedStreamingElement>, ParseError>
pub fn stats(&self) -> AlignedStats
Auto Trait Implementations§
impl<R> Freeze for AlignedStreamingParser<R>where
R: Freeze,
impl<R> RefUnwindSafe for AlignedStreamingParser<R>where
R: RefUnwindSafe,
impl<R> Send for AlignedStreamingParser<R>where
R: Send,
impl<R> Sync for AlignedStreamingParser<R>where
R: Sync,
impl<R> Unpin for AlignedStreamingParser<R>where
R: Unpin,
impl<R> UnwindSafe for AlignedStreamingParser<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