Enum hourglass::InputError [] [src]

pub enum InputError {
    InvalidMonth,
    InvalidDay,
    InvalidHour,
    InvalidMinute,
    InvalidSecond,
    InvalidNano,
    InvalidLeapSecond,
    InvalidFormat,
}

Possible errors when creating a Datetime.

Variants

InvalidMonthInvalidDayInvalidHourInvalidMinuteInvalidSecondInvalidNanoInvalidLeapSecondInvalidFormat

Trait Implementations

impl Debug for InputError
[src]

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

Formats the value using the given formatter.

impl Display for InputError
[src]

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

Formats the value using the given formatter.

impl Error for InputError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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