Struct toml::ParserError [] [src]

pub struct ParserError {
    pub lo: usize,
    pub hi: usize,
    pub desc: String,
}

A structure representing a parse error.

The data in this structure can be used to trace back to the original cause of the error in order to provide diagnostics about parse errors.

Fields

The low byte at which this error is pointing at.

One byte beyond the last character at which this error is pointing at.

A human-readable description explaining what the error is.

Trait Implementations

impl Debug for ParserError
[src]

Formats the value using the given formatter.

impl Clone for ParserError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for ParserError
[src]

A short description of the error. Read more

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

impl Display for ParserError
[src]

Formats the value using the given formatter.