Enum chrono_utils::parser::error::ParseErrorKind
[−]
[src]
pub enum ParseErrorKind { InvalidYear, InvalidMonth, InvalidDay, InvalidHour, InvalidMinute, InvalidSeconds, InvalidNanoseconds, InvalidFormat, InvalidToken, InvalidLowValue, InvalidHighValue, InvalidDate, InvalidTime, StringNotEnded, }
Error kind of parsing.
Variants
InvalidYear
Unable to parse year.
InvalidMonth
Unable to parse month.
InvalidDay
Unable to parse day.
InvalidHour
Unable to parse hour.
InvalidMinute
Unable to parse minutes.
InvalidSeconds
Unable to parse seconds.
InvalidNanoseconds
Unable to parse nanoseconds.
InvalidFormat
Invalid format.
InvalidToken
Unexpected token.
InvalidLowValue
Invalid value range. Value is too low.
InvalidHighValue
Invalid value range. Value is too high.
InvalidDate
Date is not exists.
InvalidTime
Time is not exists.
StringNotEnded
Date is parsed, but there is some text after date.
Trait Implementations
impl Copy for ParseErrorKind
[src]
impl Clone for ParseErrorKind
[src]
fn clone(&self) -> ParseErrorKind
[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 PartialEq for ParseErrorKind
[src]
fn eq(&self, __arg_0: &ParseErrorKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for ParseErrorKind
[src]
impl Debug for ParseErrorKind
[src]
impl Error for ParseErrorKind
[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