Enum hetu::ParseError
[−]
[src]
pub enum ParseError<'a> { Syntax(&'a str, usize, usize), Day(&'a str, usize, usize), Month(&'a str, usize, usize), Year(&'a str, usize, usize), Identifier(&'a str, usize, usize), Checksum(&'a str, usize, usize), }
Variants
Syntax(&'a str, usize, usize)
Day(&'a str, usize, usize)
Month(&'a str, usize, usize)
Year(&'a str, usize, usize)
Identifier(&'a str, usize, usize)
Checksum(&'a str, usize, usize)
Trait Implementations
impl<'a> Copy for ParseError<'a>
[src]
impl<'a> Clone for ParseError<'a>
[src]
fn clone(&self) -> ParseError<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ParseError<'a>
[src]
impl<'a> PartialEq for ParseError<'a>
[src]
fn eq(&self, __arg_0: &ParseError<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Display for ParseError<'a>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> Error for ParseError<'a>
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more