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§
fn new(writer: W) -> Selfwhere
Self: Sized,
fn finish(&mut self, df: &mut DataFrame) -> PolarsResult<()>
Implementors§
impl<W> SerWriter<W> for AvroWriter<W>where
W: Write,
Available on crate feature
avro
only.impl<W> SerWriter<W> for CsvWriter<W>where
W: Write,
Available on crate features
csv
or json
only.impl<W> SerWriter<W> for IpcStreamWriter<W>where
W: Write,
Available on crate feature
ipc_streaming
and (crate features ipc
or ipc_streaming
) only.impl<W> SerWriter<W> for IpcWriter<W>where
W: Write,
Available on crate features
ipc
or ipc_streaming
only.impl<W> SerWriter<W> for JsonWriter<W>where
W: Write,
Available on crate feature
json
only.