Trait memtable::exts::prelude::ToCsv[][src]

pub trait ToCsv {
    fn to_csv<W>(&self, writer: W) -> Result<(), Error>
    where
        W: Write
; fn to_csv_str(&self) -> Result<String, Error> { ... }
fn to_csv_file<P>(&self, p: P) -> Result<(), Error>
    where
        P: AsRef<Path>
, { ... } }
Expand description

Represents ability to save data to a CSV

Required methods

Writes a table to some instance of the io::Write trait

Provided methods

Write a table to a string

Writes a table to a CSV file at the given path

Implementors