Enum time::error::TryFromParsed [−][src]
#[non_exhaustive]
pub enum TryFromParsed {
InsufficientInformation,
ComponentRange(ComponentRange),
}This is supported on crate feature
parsing only.Expand description
An error that occurred when converting a Parsed to another type.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The Parsed did not include enough information to construct the
type.
ComponentRange(ComponentRange)Some component contained an invalid value for the type.
Trait Implementations
This is supported on crate feature
std only.Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TryFromParsedimpl Send for TryFromParsedimpl Sync for TryFromParsedimpl Unpin for TryFromParsedimpl UnwindSafe for TryFromParsedBlanket Implementations
Mutably borrows from an owned value. Read more