pub enum ReadErrorKind {
UnterminatedQuote,
TrailingContent,
Io(Error),
InvalidUtf8,
}Expand description
Kinds of errors that can occur when reading CSV data.
Variants§
UnterminatedQuote
A quoted field was opened but never closed before end of input.
TrailingContent
Non-delimiter, non-newline content appeared after a closing quote.
Io(Error)
An I/O error from the underlying read source.
InvalidUtf8
The CSV data contains invalid UTF-8.
Trait Implementations§
Source§impl Debug for ReadErrorKind
impl Debug for ReadErrorKind
Auto Trait Implementations§
impl !RefUnwindSafe for ReadErrorKind
impl !UnwindSafe for ReadErrorKind
impl Freeze for ReadErrorKind
impl Send for ReadErrorKind
impl Sync for ReadErrorKind
impl Unpin for ReadErrorKind
impl UnsafeUnpin for ReadErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more