pub struct Probe<I>where
I: Interner,{
pub steps: Vec<ProbeStep<I>>,
pub kind: ProbeKind<I>,
pub final_state: Canonical<I, State<I, ()>>,
}
Expand description
A self-contained computation during trait solving. This either
corresponds to a EvalCtxt::probe(_X)
call or the root evaluation
of a goal.
Fields§
§steps: Vec<ProbeStep<I>>
What happened inside of this probe in chronological order.
kind: ProbeKind<I>
§final_state: Canonical<I, State<I, ()>>
Trait Implementations§
impl<I> Eq for Probe<I>where
I: Interner,
Auto Trait Implementations§
impl<I> Freeze for Probe<I>where
<I as Interner>::CanonicalVarKinds: Freeze,
<I as Interner>::ImplId: Freeze,
<I as Interner>::GenericArgs: Freeze,
<I as Interner>::ExternalConstraints: Freeze,
impl<I> RefUnwindSafe for Probe<I>where
<I as Interner>::CanonicalVarKinds: RefUnwindSafe,
<I as Interner>::ImplId: RefUnwindSafe,
<I as Interner>::GenericArgs: RefUnwindSafe,
<I as Interner>::ExternalConstraints: RefUnwindSafe,
<I as Interner>::ParamEnv: RefUnwindSafe,
<I as Interner>::Predicate: RefUnwindSafe,
impl<I> Send for Probe<I>
impl<I> Sync for Probe<I>
impl<I> Unpin for Probe<I>
impl<I> UnwindSafe for Probe<I>where
<I as Interner>::CanonicalVarKinds: UnwindSafe,
<I as Interner>::ImplId: UnwindSafe,
<I as Interner>::GenericArgs: UnwindSafe,
<I as Interner>::ExternalConstraints: UnwindSafe,
<I as Interner>::ParamEnv: UnwindSafe,
<I as Interner>::Predicate: UnwindSafe,
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
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.