Enum time::error::ParseFromDescription [−][src]
#[non_exhaustive]
pub enum ParseFromDescription {
InvalidLiteral,
InvalidComponent(&'static str),
}Expand description
An error that occurred while parsing the input into a Parsed struct.
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.
InvalidLiteral
A string literal was not what was expected.
InvalidComponent(&'static str)
Tuple Fields
0: &'static strA dynamic component was not valid.
Trait Implementations
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 ParseFromDescription
impl Send for ParseFromDescription
impl Sync for ParseFromDescription
impl Unpin for ParseFromDescription
impl UnwindSafe for ParseFromDescription
Blanket Implementations
Mutably borrows from an owned value. Read more