pub struct ResolveOutcome {
pub result: ResolveResult,
pub report: CommitBudgetReport,
pub seed: u64,
pub seed_source: HnswSeedSource,
pub threshold: Option<LocalThreshold>,
}Expand description
Full outcome of a resolve call, including the guard’s report for embedding in the commit envelope and the (seed, source) pair used for the HNSW walk.
Fields§
§result: ResolveResultPrimary resolution decision.
report: CommitBudgetReportBudget-guard report - host embeds in the commit envelope and feeds to the metric sink.
seed: u64Seed used for the HNSW walk (for audit / replay determinism).
seed_source: HnswSeedSourceSource of the HNSW seed for this run.
threshold: Option<LocalThreshold>The per-node distribution-derived threshold. None when the
local sample was too small.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolveOutcome
impl RefUnwindSafe for ResolveOutcome
impl Send for ResolveOutcome
impl Sync for ResolveOutcome
impl Unpin for ResolveOutcome
impl UnsafeUnpin for ResolveOutcome
impl UnwindSafe for ResolveOutcome
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