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
byte_range: (usize, usize)
Start and end byte indices into the source code where parsing failed.
start: (usize, usize)
The (line, column) in the source code where parsing failure began.
end: (usize, usize)
The (line, column) in the source code where parsing failure ended.
desc: String
A description of the parsing error that occured.
Trait Implementations
impl Debug for ParsingError[src]
impl PartialEq for ParsingError[src]
fn eq(&self, __arg_0: &ParsingError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ParsingError) -> bool[src]
This method tests for !=.
impl Clone for ParsingError[src]
fn clone(&self) -> ParsingError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more