Struct scanlex::ScanError
[−]
[src]
pub struct ScanError { /* fields omitted */ }
a scanner error type
Methods
impl ScanError
[src]
Trait Implementations
impl Debug for ScanError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ScanError
[src]
fn eq(&self, __arg_0: &ScanError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ScanError) -> bool
[src]
This method tests for !=
.
impl Display for ScanError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for ScanError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more