Enum time::ParseError [−][src]
#[non_exhaustive] pub enum ParseError {}Show variants
InvalidNanosecond, InvalidSecond, InvalidMinute, InvalidHour, InvalidAmPm, InvalidMonth, InvalidYear, InvalidWeek, InvalidDayOfWeek, InvalidDayOfMonth, InvalidDayOfYear, InvalidOffset, MissingFormatSpecifier, InvalidFormatSpecifier(char), UnexpectedCharacter { expected: char, actual: char, }, UnexpectedEndOfString, InsufficientInformation, ComponentOutOfRange(Box<ComponentRange>),
Expand description
An error occurred while parsing.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The nanosecond present was not valid.
The second present was not valid.
The minute present was not valid.
The hour present was not valid.
The AM/PM was not valid.
The month present was not valid.
The year present was not valid.
The week present was not valid.
The day of week present was not valid.
The day of month present was not valid.
The day of year present was not valid.
The UTC offset present was not valid.
There was no character following a %
.
InvalidFormatSpecifier(char)
The character following %
is not valid.
A character literal was expected to be present but was not.
Show fields
The string ended, but there should be more content.
There was not enough information provided to create the requested type.
ComponentOutOfRange(Box<ComponentRange>)
A component was out of range.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V