Struct ion::ParserError [] [src]

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

Fields

lo: usize

The low byte at which this error is pointing at.

hi: usize

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

desc: String

A human-readable description explaining what the error is.

Trait Implementations

impl Debug for ParserError
[src]

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

Formats the value using the given formatter.

impl Clone for ParserError
[src]

fn clone(&self) -> ParserError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Error for ParserError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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

impl Display for ParserError
[src]

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

Formats the value using the given formatter.