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

An error reported by the type-based encoder.

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.

Index

An error originating from using a CSV index.

Trait Implementations

impl Display for Error

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

impl StdError for Error

fn description(&self) -> &str

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

impl From<Error> for Error

fn from(err: Error) -> Error

impl From<Error> for Error

fn from(err: Error) -> Error

Derived Implementations

impl Debug for Error

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