Expand description
Various error types returned by methods in the time crate.
Modules§
- component_range πComponent range error
- conversion_range πConversion range error
- different_variant πDifferent variant error
- format πError formatting a struct
- indeterminate_offset πIndeterminate offset
- Invalid format description
- invalid_variant πInvalid variant error
- parse πError that occurred at some stage of parsing
- Error parsing an input into a
Parsed
struct - try_from_parsed πError converting a
Parsed
struct to another type
Structs§
- An error type indicating that a component provided to a method was out of range, causing a failure.
- An error type indicating that a conversion failed because the target type could not store the initial value.
- An error type indicating that a
TryFrom
call failed because the original value was of a different variant. - The systemβs UTC offset could not be determined at the given datetime.
- An error type indicating that a
FromStr
call failed because the value was not a valid variant.
Enums§
- A unified error type for anything returned by a method in the time crate.
- An error occurred when formatting.
- The format description provided was not valid.
- An error that occurred at some stage of parsing.
- An error that occurred while parsing the input into a
Parsed
struct. - An error that occurred when converting a
Parsed
to another type.