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 Error for ParseErrorKind

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>1.0.0

impl Display for ParseErrorKind

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for ParseErrorKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for ParseErrorKind

impl PartialEq for ParseErrorKind

fn eq(&self, __arg_0: &ParseErrorKind) -> bool

fn ne(&self, other: &Rhs) -> bool1.0.0

impl Clone for ParseErrorKind

fn clone(&self) -> ParseErrorKind

fn clone_from(&mut self, source: &Self)1.0.0

impl Copy for ParseErrorKind