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. |