Trait mule::Typer[][src]

pub trait Typer: Default + Clone + Debug + Send + Sync + 'static {
    type ColumnType: Display + Hash + Eq + Copy + Send + Sync + Debug + Default;
    type DatasetValue: DatasetValue<Self::ColumnType>;

    const COLUMN_TYPES: &'static [Self::ColumnType];

    fn parse_as(
        &self,
        value: &RawValue,
        tag: Self::ColumnType
    ) -> Parsed<Self::DatasetValue>; fn parse(&self, value: &RawValue) -> Parsed<Self::DatasetValue> { ... } }

Associated Types

Loading content...

Associated Constants

Loading content...

Required methods

fn parse_as(
    &self,
    value: &RawValue,
    tag: Self::ColumnType
) -> Parsed<Self::DatasetValue>
[src]

Loading content...

Provided methods

fn parse(&self, value: &RawValue) -> Parsed<Self::DatasetValue>[src]

Loading content...

Implementors

impl Typer for DefaultTyper[src]

type ColumnType = ColumnType

type DatasetValue = Value

Loading content...