pub trait RelationFileExt: Relation {
// Required methods
fn from_parquet<P: AsRef<Path>>(filepath: P) -> Result<Self, Error>
where Self: Sized;
fn from_csv<P: AsRef<Path>>(filepath: P) -> Result<Self, Error>
where Self: Sized;
}Expand description
Extension trait for Relation to add file reading capabilities.
Required Methods§
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.
Implementors§
impl<R> RelationFileExt for Rwhere
R: Relation,
Blanket implementation of RelationFileExt for any type that
implements Relation.