Struct config_parser::error::Error
[−]
[src]
pub struct Error { // some fields omitted }
Methods
impl Error
[src]
fn new(line: u32, col: u16, etype: ErrorType, expected: Option<&'static str>) -> Error
fn from_state<T>(pos: &T, etype: ErrorType, expected: Option<&'static str>) -> Error where T: CodePos
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.