Enum csv::DeserializeErrorKind[][src]

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

impl Debug for DeserializeErrorKind[src]

impl Display for DeserializeErrorKind[src]

impl Eq for DeserializeErrorKind[src]

impl PartialEq<DeserializeErrorKind> for DeserializeErrorKind[src]

impl StructuralEq for DeserializeErrorKind[src]

impl StructuralPartialEq for DeserializeErrorKind[src]

Auto Trait Implementations

impl RefUnwindSafe for DeserializeErrorKind

impl Send for DeserializeErrorKind

impl Sync for DeserializeErrorKind

impl Unpin for DeserializeErrorKind

impl UnwindSafe for DeserializeErrorKind

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.