Enum csv::ParseError [] [src]

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

A description of a CSV parse error.

Variants

UnequalLengths

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

expected: u64

Expected a record with this many fields.

got: u64

Got a record with this many fields.

InvalidUtf8

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 Debug for ParseError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for ParseError
[src]

impl Clone for ParseError
[src]

fn clone(&self) -> ParseError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for ParseError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.