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 format description
- invalid_
variant π - Invalid variant error
- parse π
- Error that occurred at some stage of parsing
- parse_
from_ πdescription - Error parsing an input into a
Parsed
struct - try_
from_ πparsed - Error converting a
Parsed
struct to another type
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 - 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
- An error occurred when formatting.
- Invalid
Format Description - The format description provided was not valid.
- Parse
- An error that occurred at some stage of parsing.
- Parse
From Description - An error that occurred while parsing the input into a
Parsed
struct. - TryFrom
Parsed - An error that occurred when converting a
Parsed
to another type.