Expand description
Various error types returned by methods in the time crate.
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
TryFromcall failed because the original value was of a different variant. - IndeterminateOffset
local-offsetThe system’s UTC offset could not be determined at the given datetime. - An error type indicating that a
FromStrcall failed because the value was not a valid variant.
Enums
- A unified error type for anything returned by a method in the time crate.
- Format
formattingAn error occurred when formatting. - InvalidFormatDescription(
formattingorparsing) andallocThe format description provided was not valid. - Parse
parsingAn error that occurred at some stage of parsing. - ParseFromDescription
parsingAn error that occurred while parsing the input into aParsedstruct. - TryFromParsed
parsingAn error that occurred when converting aParsedto another type.