Struct openalias::ParseError [] [src]

pub struct ParseError {
    pub line: usize,
    pub column: usize,
    pub offset: usize,
    pub expected: HashSet<&'static str>,
}

OpenAlias record parsing error

Fields

1-based line # of error

1-based column # of error

Byte offset of error

Set of expected but unmatched rules

Trait Implementations

impl PartialEq for ParseError
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ParseError
[src]

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter.

impl Clone for ParseError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ParseError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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