Enum csv::ParseError [] [src]

pub enum ParseError {
    UnequalLengths {
        expected: u64,
        got: u64,
    },
    InvalidUtf8,
}

A description of a CSV parse error.

Variants

A record was found that has a different size than other records.

This is only reported when flexible is set to false on the corresponding CSV reader/writer.

Fields of UnequalLengths

Expected a record with this many fields.

Got a record with this many fields.

An error occurred when trying to convert a field to a Unicode string.

TODO: Include the real Utf8Error, but it is not stabilized yet.

Trait Implementations

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ParseError
[src]

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl Display for ParseError
[src]

Formats the value using the given formatter.