pub enum SubgraphResult {
Completed {
pool: VariablePool,
outputs: IndexMap<String, Value>,
writes: Vec<(Selector, Value)>,
usage: Usage,
broke: bool,
},
Failed {
error: NodeError,
usage: Usage,
},
Paused {
snapshot: FrameSnapshot,
reasons: Vec<PauseReason>,
},
}Expand description
Outcome of a container body run.
Produced once per body run and moved straight into the container node, so the size difference between variants does not matter.
Variants§
Completed
Fields
§
pool: VariablePoolFinal pool of the body run.
§
writes: Vec<(Selector, Value)>Writes to namespaces outside the body (container variables, conversation…),
in commit order. The container should forward them via NodeOutput::writes.
Failed
Paused
Trait Implementations§
Auto Trait Implementations§
impl Forget for SubgraphResult
impl Freeze for SubgraphResult
impl Move for SubgraphResult
impl RefUnwindSafe for SubgraphResult
impl Send for SubgraphResult
impl Sync for SubgraphResult
impl Unpin for SubgraphResult
impl UnsafeUnpin for SubgraphResult
impl UnwindSafe for SubgraphResult
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