pub trait SerReader<R>where
R: Read,{
// Required methods
fn new(reader: R) -> Self;
fn finish(self) -> Result<DataFrame, PolarsError>;
// Provided method
fn set_rechunk(self, _rechunk: bool) -> Self
where Self: Sized { ... }
}
Available on crate feature
polars-io
only.Required Methods§
Sourcefn finish(self) -> Result<DataFrame, PolarsError>
fn finish(self) -> Result<DataFrame, PolarsError>
Take the SerReader and return a parsed DataFrame.
Provided Methods§
Sourcefn set_rechunk(self, _rechunk: bool) -> Selfwhere
Self: Sized,
fn set_rechunk(self, _rechunk: bool) -> Selfwhere
Self: Sized,
Make sure that all columns are contiguous in memory by aggregating the chunks into a single array.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.