Enum csv_pipeline::Error

source ·
pub enum Error {
    Csv(Error),
    MissingColumn(String),
    DuplicateColumn(String),
    InvalidField(String),
    MismatchedHeaders(RowRow),
}

Variants§

§

Csv(Error)

CSV and IO errors are in here.

§

MissingColumn(String)

The column of this name is missing.

§

DuplicateColumn(String)

This column name appears twice.

§

InvalidField(String)

This field has an invalid format.

§

MismatchedHeaders(RowRow)

Two pipeline sources don’t have the same headers.

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.