pub struct StreamParser { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for StreamParser
impl Default for StreamParser
Source§fn default() -> StreamParser
fn default() -> StreamParser
Returns the “default value” for a type. Read more
Source§impl Parser for StreamParser
impl Parser for StreamParser
Source§fn write(&mut self, chunk: &[u8]) -> Vec<Event>
fn write(&mut self, chunk: &[u8]) -> Vec<Event>
Feed a chunk of input. Returns any events that became complete as a result. A chunk may end
mid-line; the parser buffers the remainder until the next
write/flush.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