Enum csv::Error [] [src]

pub enum Error {
    Encode(String),
    Decode(String),
    Parse(LocatableError<ParseError>),
    Io(Error),
    Index(String),
}

An error produced by an operation on CSV data.

Variants

Encode(String)

An error reported by the type-based encoder.

Decode(String)

An error reported by the type-based decoder.

Parse(LocatableError<ParseError>)

An error reported by the CSV parser.

Io(Error)

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

Index(String)

An error originating from using a CSV index.

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Display for Error
[src]

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

Formats the value using the given formatter.

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

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.