polars::prelude

Trait SerWriter

Source
pub trait SerWriter<W>
where W: Write,
{ // Required methods fn new(writer: W) -> Self where Self: Sized; fn finish(&mut self, df: &mut DataFrame) -> Result<(), PolarsError>; }
Available on crate feature polars-io only.

Required Methods§

Source

fn new(writer: W) -> Self
where Self: Sized,

Source

fn finish(&mut self, df: &mut DataFrame) -> Result<(), PolarsError>

Implementors§

Source§

impl<W> SerWriter<W> for CsvWriter<W>
where W: Write,

Source§

impl<W> SerWriter<W> for IpcStreamWriter<W>
where W: Write,

Source§

impl<W> SerWriter<W> for IpcWriter<W>
where W: Write,

Source§

impl<W> SerWriter<W> for JsonWriter<W>
where W: Write,