polars_io

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) -> PolarsResult<()>; }

Required Methods§

Source

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

Source

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

Implementors§

Source§

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

Available on crate feature avro only.
Source§

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

Available on crate features csv or json only.
Source§

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

Available on crate feature ipc_streaming and (crate features ipc or ipc_streaming) only.
Source§

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

Available on crate features ipc or ipc_streaming only.
Source§

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

Available on crate feature json only.