Struct mentat::ParseError
[−]
[src]
pub struct ParseError { pub line: usize, pub column: usize, pub offset: usize, pub expected: HashSet<&'static str, RandomState>, }
Fields
line: usize
column: usize
offset: usize
expected: HashSet<&'static str, RandomState>
Trait Implementations
impl Clone for ParseError
[src]
impl Clone for ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ParseError
[src]
impl Eq for ParseError
impl PartialEq<ParseError> for ParseError
[src]
impl PartialEq<ParseError> for ParseError
fn eq(&self, __arg_0: &ParseError) -> bool
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
[src]
fn ne(&self, __arg_0: &ParseError) -> bool
This method tests for !=
.
impl Display for ParseError
[src]
impl Display for ParseError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for ParseError
[src]
impl Error for ParseError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<ParseError> for AlgebrizerError
[src]
impl From<ParseError> for AlgebrizerError
fn from(error: ParseError) -> AlgebrizerError
[src]
fn from(error: ParseError) -> AlgebrizerError
Performs the conversion.
impl From<ParseError> for MentatError
[src]
impl From<ParseError> for MentatError
fn from(error: ParseError) -> MentatError
[src]
fn from(error: ParseError) -> MentatError
Performs the conversion.
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError