[−][src]Trait agnes::source::csv::BuildDStore
A trait for building a DataStore from a CsvSrcSpecCons.
Associated Types
type OutputFields: AssocStorage
Fields
type parameter of the resultant DataStore
.
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
.
Implementors
impl BuildDStore for Nil
[src]
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]
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>,