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.
Tuple Fields of ComponentRange
Trait Implementations
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 !=
.
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TryFromParsed
impl Send for TryFromParsed
impl Sync for TryFromParsed
impl Unpin for TryFromParsed
impl UnwindSafe for TryFromParsed
Blanket Implementations
Mutably borrows from an owned value. Read more