pub struct StreamingParser { /* private fields */ }Implementations§
Source§impl StreamingParser
impl StreamingParser
pub fn new() -> Self
pub fn feed(&mut self, input: &[u8]) -> Result<Vec<ParserEvent>, ParserError>
pub fn finish(&mut self) -> Result<Vec<ParserEvent>, ParserError>
Trait Implementations§
Source§impl Debug for StreamingParser
impl Debug for StreamingParser
Auto Trait Implementations§
impl Freeze for StreamingParser
impl RefUnwindSafe for StreamingParser
impl Send for StreamingParser
impl Sync for StreamingParser
impl Unpin for StreamingParser
impl UnsafeUnpin for StreamingParser
impl UnwindSafe for StreamingParser
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