pub struct StreamParser { /* private fields */ }Expand description
Collects a streamed source and parses it once, when finish is called.
Bytes beyond the mode’s size limit (plus a three-byte margin) are counted
but not kept, and finish then marks the document shortened. No partial
parse is offered while bytes are still arriving.
Implementations§
Auto Trait Implementations§
impl Freeze for StreamParser
impl RefUnwindSafe for StreamParser
impl Send for StreamParser
impl Sync for StreamParser
impl Unpin for StreamParser
impl UnsafeUnpin for StreamParser
impl UnwindSafe for StreamParser
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