pub struct JsonlDecoder { /* private fields */ }Expand description
One message per line. push takes any chunking (a line may span chunks),
end flushes a last line without a newline. A line past
maxMessageBytes is an issue (line N: message larger than … bytes),
never buffered.
Implementations§
Trait Implementations§
Source§impl Clone for JsonlDecoder
impl Clone for JsonlDecoder
Source§impl Debug for JsonlDecoder
impl Debug for JsonlDecoder
Auto Trait Implementations§
impl Freeze for JsonlDecoder
impl RefUnwindSafe for JsonlDecoder
impl Send for JsonlDecoder
impl Sync for JsonlDecoder
impl Unpin for JsonlDecoder
impl UnsafeUnpin for JsonlDecoder
impl UnwindSafe for JsonlDecoder
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