Enum quick_csv::error::Error [] [src]

pub enum Error {
    Decode(String),
    Parse(String),
    Io(Error),
    EOL,
    UnescapedQuote,
    UnexpextedQuote,
    ColumnMismatch(usize, usize),
}

An error produced by an operation on CSV data.

Variants

Decode

An error reported by the type-based decoder.

Parse

An error reported by the CSV parser.

Io

An error originating from reading or writing to the underlying buffer.

EOL

An error originating from finding end of line instead of a column.

UnescapedQuote

Unescaped quote

UnexpextedQuote

Unexpected quote in a column which is non quoted column

ColumnMismatch

Column count mismatch

Trait Implementations

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

Derived Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.