[][src]Trait agnes::source::csv::BuildDStore

pub trait BuildDStore {
    type OutputFields: AssocStorage;
    fn build(
        &mut self,
        src: &CsvSource
    ) -> Result<DataStore<Self::OutputFields>>; }

A trait for building a DataStore from a CsvSrcSpecCons.

Associated Types

type OutputFields: AssocStorage

Fields type parameter of the resultant DataStore.

Loading content...

Required methods

fn build(&mut self, src: &CsvSource) -> Result<DataStore<Self::OutputFields>>

Builds a DataStore from the source spec (self) and a CSV source src.

Loading content...

Implementors

impl BuildDStore for Nil[src]

type OutputFields = Nil

impl<Label, DType, Tail> BuildDStore for CsvSrcSpecCons<Label, DType, Tail> where
    Tail: BuildDStore,
    DataStore<<Tail as BuildDStore>::OutputFields>: PushFrontFromValueIter<Label, DType>,
    Tail::OutputFields: PushBack<FieldSpec<Label, DType>>,
    <Tail::OutputFields as PushBack<FieldSpec<Label, DType>>>::Output: AssocStorage,
    Label: Debug,
    DType: FromStr + Debug + Default + Clone,
    ParseError: From<<DType as FromStr>::Err>, 
[src]

Loading content...