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 Clone for DeserializeErrorKind
fn clone(&self) -> DeserializeErrorKind
[src]
fn clone(&self) -> DeserializeErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for DeserializeErrorKind
[src]
impl Debug for DeserializeErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for DeserializeErrorKind
[src]
impl Eq for DeserializeErrorKind
impl PartialEq for DeserializeErrorKind
[src]
impl PartialEq for DeserializeErrorKind
fn eq(&self, other: &DeserializeErrorKind) -> bool
[src]
fn eq(&self, other: &DeserializeErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeserializeErrorKind) -> bool
[src]
fn ne(&self, other: &DeserializeErrorKind) -> bool
This method tests for !=
.
impl Display for DeserializeErrorKind
[src]
impl Display for DeserializeErrorKind
Auto Trait Implementations
impl Send for DeserializeErrorKind
impl Send for DeserializeErrorKind
impl Sync for DeserializeErrorKind
impl Sync for DeserializeErrorKind