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]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
impl StdError for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>
[src]
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error