Struct rocket::config::ParsingError [] [src]

pub struct ParsingError {
    pub byte_range: (usize, usize),
    pub start: (usize, usize),
    pub end: (usize, usize),
    pub desc: String,
}

The type of a configuration parsing error.

Fields

Start and end byte indices into the source code where parsing failed.

The (line, column) in the source code where parsing failure began.

The (line, column) in the source code where parsing failure ended.

A description of the parsing error that occured.

Trait Implementations

impl Debug for ParsingError
[src]

Formats the value using the given formatter.

impl PartialEq for ParsingError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ParsingError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more