pub struct LineDelimited {}
Expand description
Produces JSON output with one record per line. For example
{"foo":1}
{"bar":1}
Trait Implementations
sourceimpl Debug for LineDelimited
impl Debug for LineDelimited
sourceimpl Default for LineDelimited
impl Default for LineDelimited
sourcefn default() -> LineDelimited
fn default() -> LineDelimited
Returns the “default value” for a type. Read more
sourceimpl JsonFormat for LineDelimited
impl JsonFormat for LineDelimited
sourcefn end_row<W: Write>(&self, writer: &mut W) -> Result<()>
fn end_row<W: Write>(&self, writer: &mut W) -> Result<()>
write any bytes needed for the end of each row
sourcefn start_stream<W: Write>(&self, _writer: &mut W) -> Result<()>
fn start_stream<W: Write>(&self, _writer: &mut W) -> Result<()>
write any bytes needed at the start of the file to the writer
Auto Trait Implementations
impl RefUnwindSafe for LineDelimited
impl Send for LineDelimited
impl Sync for LineDelimited
impl Unpin for LineDelimited
impl UnwindSafe for LineDelimited
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more