pub struct PredictedClosureAssay<'a> { /* private fields */ }Expand description
Pure prediction-only assay over a sealed federated closure.
Implementations§
Source§impl<'a> PredictedClosureAssay<'a>
impl<'a> PredictedClosureAssay<'a>
Sourcepub const fn new(closure: &'a FederatedClosure) -> Self
pub const fn new(closure: &'a FederatedClosure) -> Self
Binds the sealed projection closure under test.
Sourcepub fn predict(
&self,
delta: &ControlledDelta,
expected: &ExpectedClosureSet,
) -> Result<AssayOutcome, AssayError>
pub fn predict( &self, delta: &ControlledDelta, expected: &ExpectedClosureSet, ) -> Result<AssayOutcome, AssayError>
Predicts one row and compares it with the independently frozen oracle.
Sourcepub fn qualify(
&self,
deltas: &[ControlledDelta],
expected: &ExpectedClosureSet,
) -> Result<StageOneQualification, AssayError>
pub fn qualify( &self, deltas: &[ControlledDelta], expected: &ExpectedClosureSet, ) -> Result<StageOneQualification, AssayError>
Qualifies exactly D1-D6 together; any repair prevents the token.
Auto Trait Implementations§
impl<'a> Freeze for PredictedClosureAssay<'a>
impl<'a> RefUnwindSafe for PredictedClosureAssay<'a>
impl<'a> Send for PredictedClosureAssay<'a>
impl<'a> Sync for PredictedClosureAssay<'a>
impl<'a> Unpin for PredictedClosureAssay<'a>
impl<'a> UnsafeUnpin for PredictedClosureAssay<'a>
impl<'a> UnwindSafe for PredictedClosureAssay<'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