Trait memtable_core::exts::csv::FromCsv[][src]

pub trait FromCsv {
    type Output;
    fn from_csv<R: Read>(reader: R) -> Result<Self::Output>;

    fn from_csv_str(s: &str) -> Result<Self::Output> { ... }
fn from_csv_file<P: AsRef<Path>>(p: P) -> Result<Self::Output> { ... } }
This is supported on csv only.
Expand description

Represents ability to load data from a CSV

Associated Types

Required methods

Loads a table from some instance of the io::Read trait

Provided methods

Loads a table from a CSV str

Loads a table from a CSV file found at the given path

Implementors