pub struct ControlledDelta {
pub id: String,
pub class: ControlledDeltaClass,
pub changed_facts: BTreeSet<FactId>,
pub revision_delta: u64,
pub carried_state: bool,
}Expand description
One controlled input delta. It predicts work but never executes proof.
Fields§
§id: StringStable assay row (D1 through D6).
class: ControlledDeltaClassSemantic class under test.
changed_facts: BTreeSet<FactId>Exact changed semantic facts; empty for semantic no-ops.
revision_delta: u64Maximum journal revision movement produced by normalization.
carried_state: boolWhether the prediction emitted carried execution state.
Implementations§
Source§impl ControlledDelta
impl ControlledDelta
Sourcepub fn new(
id: impl Into<String>,
class: ControlledDeltaClass,
changed_facts: impl IntoIterator<Item = FactId>,
revision_delta: u64,
carried_state: bool,
) -> Result<Self, AssayError>
pub fn new( id: impl Into<String>, class: ControlledDeltaClass, changed_facts: impl IntoIterator<Item = FactId>, revision_delta: u64, carried_state: bool, ) -> Result<Self, AssayError>
Constructs a checked controlled delta.
Trait Implementations§
Source§impl Clone for ControlledDelta
impl Clone for ControlledDelta
Source§impl Debug for ControlledDelta
impl Debug for ControlledDelta
impl Eq for ControlledDelta
Source§impl PartialEq for ControlledDelta
impl PartialEq for ControlledDelta
impl StructuralPartialEq for ControlledDelta
Auto Trait Implementations§
impl Freeze for ControlledDelta
impl RefUnwindSafe for ControlledDelta
impl Send for ControlledDelta
impl Sync for ControlledDelta
impl Unpin for ControlledDelta
impl UnsafeUnpin for ControlledDelta
impl UnwindSafe for ControlledDelta
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