[][src]Enum csv::ParseError

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 of UnequalLengths

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

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

Performs copy-assignment from source. Read more

impl Copy for ParseError[src]

impl Display for ParseError[src]

impl Debug for ParseError[src]

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.