pub enum FieldDecision<'a> {
SetDirectly(&'a FieldInfo),
Defer,
Disambiguated {
config: &'a Configuration,
current_field: &'a FieldInfo,
},
Unknown,
}Expand description
Result of presenting a key to the incremental solver.
Variants§
SetDirectly(&'a FieldInfo)
Field has the same path in all remaining candidates. Set it directly - path is unambiguous.
Defer
Field exists in candidates but at different paths. Defer (mark position for replay after disambiguation).
Disambiguated
This field narrowed candidates to exactly one. Replay any deferred fields, then set this field.
Fields
§
config: &'a ConfigurationThe winning configuration
Unknown
Field not found in any remaining candidate.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FieldDecision<'a>
impl<'a> RefUnwindSafe for FieldDecision<'a>
impl<'a> Send for FieldDecision<'a>
impl<'a> Sync for FieldDecision<'a>
impl<'a> Unpin for FieldDecision<'a>
impl<'a> UnwindSafe for FieldDecision<'a>
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