pub trait DynWriteable: Write + Send {
// Required methods
fn as_dyn_write(&self) -> &(dyn Write + Send + 'static);
fn as_mut_dyn_write(&mut self) -> &mut (dyn Write + Send + 'static);
fn close(self: Box<Self>) -> Result<(), Error>;
fn sync_on_close(
&mut self,
sync_on_close: SyncOnCloseType,
) -> Result<(), Error>;
}
Available on crate feature
polars-io
only.