pub struct InspectedKeyCandidateBudget { /* private fields */ }Expand description
Counts candidates actually inspected by one resolver invocation.
Parser cardinality preflights prevent expensive materialization, but do not replace this runtime accounting: embedded and indirect candidates both consume resolver work when inspected. Cumulative source-inspection work shared across one key resolution operation. Reuse this budget when resolving multiple caller-owned candidate records.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InspectedKeyCandidateBudget
impl RefUnwindSafe for InspectedKeyCandidateBudget
impl Send for InspectedKeyCandidateBudget
impl Sync for InspectedKeyCandidateBudget
impl Unpin for InspectedKeyCandidateBudget
impl UnsafeUnpin for InspectedKeyCandidateBudget
impl UnwindSafe for InspectedKeyCandidateBudget
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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