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
[src]
Return the specific type of this error.
fn into_kind(self) -> ErrorKind
[src]
Unwrap this error into its underlying type.
fn is_io_error(&self) -> bool
[src]
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
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more