pub enum NodeOutcome {
Success(IndexMap<PortIndex, BspValue>),
Suspend {
payload: Value,
waiting_inputs: Vec<PortIndex>,
},
}Expand description
Defines the evaluated outcome of a single node’s execution turn.
Variants§
Success(IndexMap<PortIndex, BspValue>)
Node executed successfully, returning values mapped to specific output ports.
Uses IndexMap to guarantee deterministic iteration order.
Suspend
Node requested execution pause (e.g., waiting for external input).
Trait Implementations§
Source§impl BspOutputPacker for NodeOutcome
impl BspOutputPacker for NodeOutcome
Auto Trait Implementations§
impl !RefUnwindSafe for NodeOutcome
impl !UnwindSafe for NodeOutcome
impl Freeze for NodeOutcome
impl Send for NodeOutcome
impl Sync for NodeOutcome
impl Unpin for NodeOutcome
impl UnsafeUnpin for NodeOutcome
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