Trait polars_io::WriterFactory
source · pub trait WriterFactory {
// Required methods
fn create_writer<W: Write + 'static>(
&self,
writer: W
) -> Box<dyn SerWriter<W>>;
fn extension(&self) -> PathBuf;
}
Required Methods§
fn create_writer<W: Write + 'static>(&self, writer: W) -> Box<dyn SerWriter<W>>
fn extension(&self) -> PathBuf
Object Safety§
This trait is not object safe.
Implementors§
impl WriterFactory for IpcStreamWriterOption
Available on crate feature
ipc_streaming
and (crate features ipc
or ipc_streaming
) only.impl WriterFactory for IpcWriterOption
Available on crate features
ipc
or ipc_streaming
only.