Enum hourglass::InputError
[−]
[src]
pub enum InputError { InvalidMonth, InvalidDay, InvalidHour, InvalidMinute, InvalidSecond, InvalidNano, InvalidLeapSecond, InvalidFormat, }
Possible errors when creating a Datetime
.
Variants
InvalidMonth
InvalidDay
InvalidHour
InvalidMinute
InvalidSecond
InvalidNano
InvalidLeapSecond
InvalidFormat
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.