#[non_exhaustive]pub enum SatisfyResult<'a> {
Continue,
Solved(ResolutionHandle<'a>),
NoMatch,
}Expand description
Result of reporting which fields the value can satisfy.
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.
Continue
Continue - still multiple candidates, keep feeding keys.
Solved(ResolutionHandle<'a>)
Solved to exactly one configuration.
NoMatch
No configuration can accept the value (no fields were satisfied).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SatisfyResult<'a>
impl<'a> RefUnwindSafe for SatisfyResult<'a>
impl<'a> Send for SatisfyResult<'a>
impl<'a> Sync for SatisfyResult<'a>
impl<'a> Unpin for SatisfyResult<'a>
impl<'a> UnsafeUnpin for SatisfyResult<'a>
impl<'a> UnwindSafe for SatisfyResult<'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