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

A generic Serde deserialization error.

A generic Serde unsupported error.

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

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).

This error occurs when a boolean value fails to parse.

This error occurs when an integer value fails to parse.

This error occurs when a float value fails to parse.

Trait Implementations

impl Clone for DeserializeErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DeserializeErrorKind
[src]

Formats the value using the given formatter.

impl Eq for DeserializeErrorKind
[src]

impl PartialEq for DeserializeErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for DeserializeErrorKind
[src]

Formats the value using the given formatter. Read more