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<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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_streaming or ipc) only.impl<W> SerWriter<W> for IpcWriter<W>where
W: Write,
Available on crate features
ipc_streaming or ipc only.impl<W> SerWriter<W> for JsonWriter<W>where
W: Write,
Available on crate feature
json only.