pub enum Extracted {
None,
Components(ParsingComponents),
Result(ParsingResult),
Known(Vec<(Component, i64)>),
}Expand description
What Parser::extract returns (upstream returns one of these types, or null).
Variants§
None
null: no result here; chrono retries one character after m.index.
Components(ParsingComponents)
Result(ParsingResult)
Known(Vec<(Component, i64)>)
A plain { [component]: number } object of known values.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Extracted
impl Freeze for Extracted
impl RefUnwindSafe for Extracted
impl Send for Extracted
impl Sync for Extracted
impl Unpin for Extracted
impl UnsafeUnpin for Extracted
impl UnwindSafe for Extracted
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more