pub struct PrefixEvidence { /* private fields */ }Expand description
Actual successful committed-prefix facts, explicitly without completion.
A prefix has an unexhausted frontier. It can support a candidate word that still needs independent validation; it cannot establish a holding verdict. A safety failure or resource stop does not create a successful prefix.
use dive_runtime::capture::{Prefix, PrefixEvidence};
fn release_prefix(captured: Prefix) -> PrefixEvidence {
let level = captured.level();
let evidence = captured.into_evidence();
assert_eq!(evidence.level(), level);
assert!(evidence.stats().left_on_queue > 0);
evidence
}ⓘ
use dive_runtime::capture::{CompleteEvidence, PrefixEvidence};
fn promote(prefix: PrefixEvidence) -> CompleteEvidence { prefix.into() }Implementations§
Source§impl PrefixEvidence
impl PrefixEvidence
Sourcepub fn safety_result(&self) -> &CheckResult
pub fn safety_result(&self) -> &CheckResult
Actual successful safety result at the committed boundary. Its nonzero queue describes unfinished exploration, not safety/resource failure.
Sourcepub const fn stats(&self) -> Stats
pub const fn stats(&self) -> Stats
Actual counters at the committed boundary, including the nonzero queue.
Sourcepub fn options(&self) -> &CheckOptions
pub fn options(&self) -> &CheckOptions
Original producer settings, including profile, seed, store and run budget.
Trait Implementations§
Source§impl Clone for PrefixEvidence
impl Clone for PrefixEvidence
Auto Trait Implementations§
impl !RefUnwindSafe for PrefixEvidence
impl !UnwindSafe for PrefixEvidence
impl Forget for PrefixEvidence
impl Freeze for PrefixEvidence
impl Move for PrefixEvidence
impl Send for PrefixEvidence
impl Sync for PrefixEvidence
impl Unpin for PrefixEvidence
impl UnsafeUnpin for PrefixEvidence
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