Module twilight_model::datetime::error [−][src]
Expand description
Error detail implementation for Timestamp parsing.
Timestamps can fail to parse for a few reasons, detailed by
TimestampParseErrorType’s variants. Of note is the
TimestampParseErrorType::Range variant detailing the field that was out
of range. This can occur when, for example, a given hour is 24 but the
acceptable range is from 0 to 23, inclusively.
Structs
Reason that an ISO 8601 format couldn’t be parsed.
Enums
Field that is out of range.
Type of TimestampParseError that occurred.