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]

Return the specific type of this error.

Unwrap this error into its underlying type.

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]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl SerdeError for Error
[src]

Used when a [Serialize] implementation encounters any error while serializing a type. Read more