pub enum MetaOutcome {
State(JsonValue),
IoRequired {
io_type: String,
params: JsonValue,
},
Halted {
reason: String,
},
}Expand description
Outcome of one meta-instruction execution, mirrored arm-for-arm from the canonical executor’s result type (state / io-required / halted).
This mirror lives in plugin-kit (not in the primitive-types layer) on purpose: it carries mechanism semantics, which must not leak into the base value-domain crate.
Variants§
State(JsonValue)
Execution produced an updated state document.
IoRequired
I/O request signal (propagates immediately; no further instructions execute within the step).
Fields
Halted
Enforce-primitive hit: pure halt signal, no state attached; any state modification made before the hit is discarded by the canonical transition layer.
Trait Implementations§
Source§impl Clone for MetaOutcome
impl Clone for MetaOutcome
Source§impl Debug for MetaOutcome
impl Debug for MetaOutcome
impl Eq for MetaOutcome
Source§impl PartialEq for MetaOutcome
impl PartialEq for MetaOutcome
impl StructuralPartialEq for MetaOutcome
Auto Trait Implementations§
impl Forget for MetaOutcome
impl Freeze for MetaOutcome
impl Move for MetaOutcome
impl RefUnwindSafe for MetaOutcome
impl Send for MetaOutcome
impl Sync for MetaOutcome
impl Unpin for MetaOutcome
impl UnsafeUnpin for MetaOutcome
impl UnwindSafe for MetaOutcome
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