[][src]Enum csv::DeserializeErrorKind

pub enum DeserializeErrorKind {
    Message(String),
    Unsupported(String),
    UnexpectedEndOfRow,
    InvalidUtf8(Utf8Error),
    ParseBool(ParseBoolError),
    ParseInt(ParseIntError),
    ParseFloat(ParseFloatError),
}

The type of a Serde deserialization error.

Variants

Message(String)

A generic Serde deserialization error.

Unsupported(String)

A generic Serde unsupported error.

UnexpectedEndOfRow

This error occurs when a Rust type expects to decode another field from a row, but no more fields exist.

InvalidUtf8(Utf8Error)

This error occurs when UTF-8 validation on a field fails. UTF-8 validation is only performed when the Rust type requires it (e.g., a String or &str type).

ParseBool(ParseBoolError)

This error occurs when a boolean value fails to parse.

ParseInt(ParseIntError)

This error occurs when an integer value fails to parse.

ParseFloat(ParseFloatError)

This error occurs when a float value fails to parse.

Trait Implementations

impl Eq for DeserializeErrorKind[src]

impl PartialEq<DeserializeErrorKind> for DeserializeErrorKind[src]

impl Clone for DeserializeErrorKind[src]

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

Performs copy-assignment from source. Read more

impl Display for DeserializeErrorKind[src]

impl Debug for DeserializeErrorKind[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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