Expand description
Various error types returned by methods in the time crate.
Structs§
- Component
Range - An error type indicating that a component provided to a method was out of range, causing a failure.
- Conversion
Range - An error type indicating that a conversion failed because the target type could not store the initial value.
- Different
Variant - An error type indicating that a
TryFrom
call failed because the original value was of a different variant. - Indeterminate
Offset local-offset
- The system’s UTC offset could not be determined at the given datetime.
- Invalid
Variant - An error type indicating that a
FromStr
call failed because the value was not a valid variant.
Enums§
- Error
- A unified error type for anything returned by a method in the time crate.
- Format
formatting
- An error occurred when formatting.
- Invalid
Format Description ( formatting
orparsing
) andalloc
- The format description provided was not valid.
- Parse
parsing
- An error that occurred at some stage of parsing.
- Parse
From Description parsing
- An error that occurred while parsing the input into a
Parsed
struct. - TryFrom
Parsed parsing
- An error that occurred when converting a
Parsed
to another type.