pub struct CsrComplete<'a> { /* private fields */ }Expand description
Checked CSR and sealed facts from a successful, exhausted producer.
Implementations§
Source§impl<'a> CsrComplete<'a>
impl<'a> CsrComplete<'a>
Sourcepub fn from_producer(
input: CsrCaptureInput<'a>,
safety: CheckResult,
options: CheckOptions,
limits: Limits,
control: &EvaluationControl,
) -> Result<Self, Verdict>
pub fn from_producer( input: CsrCaptureInput<'a>, safety: CheckResult, options: CheckOptions, limits: Limits, control: &EvaluationControl, ) -> Result<Self, Verdict>
Finalizes successful producer EOF without constructing retained values.
§Errors
The original non-success safety verdict, missing/inconsistent statistics, malformed or incomplete CSR, a capture limit, or actual run interruption.
Sourcepub const fn graph(&self) -> &CsrCapture<'a>
pub const fn graph(&self) -> &CsrCapture<'a>
Checked adjacency; state values stay with the original producer.
Sourcepub const fn evidence(&self) -> &CompleteEvidence
pub const fn evidence(&self) -> &CompleteEvidence
Original successful producer facts, independent of adjacency storage.
Sourcepub fn into_evidence(self) -> CompleteEvidence
pub fn into_evidence(self) -> CompleteEvidence
Detaches completion facts, releasing the borrowed adjacency.
Trait Implementations§
Source§impl<'a> Clone for CsrComplete<'a>
impl<'a> Clone for CsrComplete<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CsrComplete<'a>
impl<'a> !UnwindSafe for CsrComplete<'a>
impl<'a> Forget for CsrComplete<'a>
impl<'a> Freeze for CsrComplete<'a>
impl<'a> Move for CsrComplete<'a>
impl<'a> Send for CsrComplete<'a>
impl<'a> Sync for CsrComplete<'a>
impl<'a> Unpin for CsrComplete<'a>
impl<'a> UnsafeUnpin for CsrComplete<'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