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

Unable to parse year.

Unable to parse month.

Unable to parse day.

Unable to parse hour.

Unable to parse minutes.

Unable to parse seconds.

Unable to parse nanoseconds.

Invalid format.

Unexpected token.

Invalid value range. Value is too low.

Invalid value range. Value is too high.

Date is not exists.

Time is not exists.

Date is parsed, but there is some text after date.

Trait Implementations

impl Copy for ParseErrorKind
[src]

impl Clone for ParseErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ParseErrorKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ParseErrorKind
[src]

impl Debug for ParseErrorKind
[src]

[src]

Formats the value using the given formatter.

impl Error for ParseErrorKind
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for ParseErrorKind
[src]

[src]

Formats the value using the given formatter. Read more