Struct csv::Error
[−]
[src]
pub struct Error(_);
An error that can occur when processing CSV data.
This error can happen when writing or reading CSV data.
There are some important scenarios where an error is impossible to occur.
For example, if a CSV reader is used on an in-memory buffer with the
flexible
option enabled and one is reading records as raw byte strings,
then no error can occur.
Methods
impl Error
[src]
fn kind(&self) -> &ErrorKind
Return the specific type of this error.
fn into_kind(self) -> ErrorKind
Unwrap this error into its underlying type.
fn is_io_error(&self) -> bool
Returns true if this is an I/O error.
If this is true, the underlying ErrorKind
is guaranteed to be
ErrorKind::Io
.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more