Enum csv::DeserializeErrorKind [−][src]
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]
fn clone(&self) -> DeserializeErrorKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeserializeErrorKind
[src]
impl Display for DeserializeErrorKind
[src]
impl Eq for DeserializeErrorKind
[src]
impl PartialEq<DeserializeErrorKind> for DeserializeErrorKind
[src]
fn eq(&self, other: &DeserializeErrorKind) -> bool
[src]
fn ne(&self, other: &DeserializeErrorKind) -> bool
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,