pub struct ProcessExecutionResult {
pub committed: bool,
pub trapped_to_exception: bool,
pub output_token: TokenMCard,
pub places_visited: Vec<String>,
pub fiber_trace: Vec<String>,
pub payload: Value,
}Expand description
Result of executing a PetriProcessPCard transition cycle (p_in -> p_ready -> p_done -> p_out | p_exception).
Fields§
§committed: boolTrue if the transition committed to p_out.
trapped_to_exception: boolTrue if the transition trapped to p_exception.
output_token: TokenMCardOutput or exception TokenMCard.
places_visited: Vec<String>Ordered sequence of visited Petri Net places.
fiber_trace: Vec<String>Recorded 5-state Cordis Fiber trace.
payload: ValueStructured JSON response or error payload.
Trait Implementations§
Source§impl Clone for ProcessExecutionResult
impl Clone for ProcessExecutionResult
Source§impl Debug for ProcessExecutionResult
impl Debug for ProcessExecutionResult
Source§impl<'de> Deserialize<'de> for ProcessExecutionResult
impl<'de> Deserialize<'de> for ProcessExecutionResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProcessExecutionResult
impl RefUnwindSafe for ProcessExecutionResult
impl Send for ProcessExecutionResult
impl Sync for ProcessExecutionResult
impl Unpin for ProcessExecutionResult
impl UnsafeUnpin for ProcessExecutionResult
impl UnwindSafe for ProcessExecutionResult
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