pub struct CsrPrefix<'a> { /* private fields */ }Expand description
Checked committed CSR prefix with an explicitly unfinished frontier.
Implementations§
Source§impl<'a> CsrPrefix<'a>
impl<'a> CsrPrefix<'a>
Sourcepub fn from_producer(
input: CsrCaptureInput<'a>,
level: u64,
safety: CheckResult,
options: CheckOptions,
limits: Limits,
control: &EvaluationControl,
) -> Result<Self, Verdict>
pub fn from_producer( input: CsrCaptureInput<'a>, level: u64, safety: CheckResult, options: CheckOptions, limits: Limits, control: &EvaluationControl, ) -> Result<Self, Verdict>
Finalizes a successful committed prefix. This never proves completion.
§Errors
The original safety failure, missing/inconsistent statistics, exhausted frontier, malformed CSR, a capture limit, or actual run interruption.
Sourcepub const fn graph(&self) -> &CsrCapture<'a>
pub const fn graph(&self) -> &CsrCapture<'a>
Checked adjacency, including empty outgoing rows for the frontier.
Sourcepub const fn evidence(&self) -> &PrefixEvidence
pub const fn evidence(&self) -> &PrefixEvidence
Original committed-prefix facts; these cannot be promoted to completion.
Sourcepub fn into_evidence(self) -> PrefixEvidence
pub fn into_evidence(self) -> PrefixEvidence
Detaches prefix facts, releasing the borrowed adjacency.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CsrPrefix<'a>
impl<'a> !UnwindSafe for CsrPrefix<'a>
impl<'a> Forget for CsrPrefix<'a>
impl<'a> Freeze for CsrPrefix<'a>
impl<'a> Move for CsrPrefix<'a>
impl<'a> Send for CsrPrefix<'a>
impl<'a> Sync for CsrPrefix<'a>
impl<'a> Unpin for CsrPrefix<'a>
impl<'a> UnsafeUnpin for CsrPrefix<'a>
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