pub struct CsvEncoder { /* private fields */ }Available on crate feature
csv only.Expand description
Per-stream state for CsvStreamFormat.
A fresh csv::Writer is built for every row, because csv writes its header from the
first serialised record and there is no way to ask an existing writer to stop. The header
therefore has to be produced by a writer configured for it, and every later row by one that
is not.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CsvEncoder
impl RefUnwindSafe for CsvEncoder
impl Send for CsvEncoder
impl Sync for CsvEncoder
impl Unpin for CsvEncoder
impl UnsafeUnpin for CsvEncoder
impl UnwindSafe for CsvEncoder
Blanket Implementations§
impl<T> Allocation for T
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