pub struct FixedStreamingParser<R: BufRead> { /* private fields */ }Expand description
Simple fixed streaming parser demonstrating proper type conversions
Implementations§
Source§impl<R: BufRead> FixedStreamingParser<R>
impl<R: BufRead> FixedStreamingParser<R>
pub fn new(reader: R, _version: ERNVersion) -> Self
pub fn parse_next( &mut self, ) -> Result<Option<FixedStreamingElement>, ParseError>
pub fn stats(&self) -> FixedStats
Auto Trait Implementations§
impl<R> Freeze for FixedStreamingParser<R>where
R: Freeze,
impl<R> RefUnwindSafe for FixedStreamingParser<R>where
R: RefUnwindSafe,
impl<R> Send for FixedStreamingParser<R>where
R: Send,
impl<R> Sync for FixedStreamingParser<R>where
R: Sync,
impl<R> Unpin for FixedStreamingParser<R>where
R: Unpin,
impl<R> UnwindSafe for FixedStreamingParser<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