pub struct InspectedKeyCandidateBudget<'a> { /* 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§
Source§impl<'a> InspectedKeyCandidateBudget<'a>
impl<'a> InspectedKeyCandidateBudget<'a>
Sourcepub fn new(policy: &VerificationPolicy) -> Self
pub fn new(policy: &VerificationPolicy) -> Self
Start shared accounting derived solely from the operation policy.
Sourcepub fn new_with_utc_facts(
policy: &VerificationPolicy,
facts: LeapTable<'a>,
) -> Self
pub fn new_with_utc_facts( policy: &VerificationPolicy, facts: LeapTable<'a>, ) -> Self
Start an operation with caller-supplied UTC history. The table is borrowed request evidence, not a policy rule or an implicit clock.
Sourcepub fn utc_facts(&self) -> Option<&LeapTable<'a>>
pub fn utc_facts(&self) -> Option<&LeapTable<'a>>
UTC evidence captured for this operation. Absence does not supply an invented history, and rebinding policy cannot replace these facts.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for InspectedKeyCandidateBudget<'a>
impl<'a> !RefUnwindSafe for InspectedKeyCandidateBudget<'a>
impl<'a> !Sync for InspectedKeyCandidateBudget<'a>
impl<'a> Send for InspectedKeyCandidateBudget<'a>
impl<'a> Unpin for InspectedKeyCandidateBudget<'a>
impl<'a> UnsafeUnpin for InspectedKeyCandidateBudget<'a>
impl<'a> UnwindSafe for InspectedKeyCandidateBudget<'a>
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