Trait peroxide::structure::dataframe::WithCSV

source ·
pub trait WithCSV: Sized {
    // Required methods
    fn write_csv(&self, file_path: &str) -> Result<(), Box<dyn Error>>;
    fn read_csv(
        file_path: &str,
        delimiter: char,
    ) -> Result<Self, Box<dyn Error>>;
}
Expand description

To handle CSV file format

Required Methods§

source

fn write_csv(&self, file_path: &str) -> Result<(), Box<dyn Error>>

source

fn read_csv(file_path: &str, delimiter: char) -> Result<Self, Box<dyn Error>>

Object Safety§

This trait is not object safe.

Implementors§