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.
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,