pub enum NodeType {
Llm,
Router,
Passthrough,
StateTransform,
Join,
Parallel,
Subgraph,
HumanApproval,
External,
Tool,
Loop,
}Variants§
Llm
Router
Passthrough
StateTransform
Join
Parallel
Parallel fan-out: execute multiple branches concurrently.
Requires config.branches (array of {id, entry, input}), config.max_parallelism,
config.join (target join node), and optional config.fail_policy and config.timeout_ms.
Subgraph
Reference another registered graph as a subgraph node.
Requires config.graph_name, optional config.input_key and config.output_key.
HumanApproval
Human approval gate: interrupt execution for human decision.
Requires config.prompt_key, config.audience, config.allowed_decisions,
and optional config.expiry_ms and config.output_key.
External
Reserved effectful class. It is accepted for truthful classification but is not executable by this local runtime.
Tool
Reserved tool class. It is accepted for truthful classification but is not executable by this local runtime.
Loop
Explicit loop class; deterministic resume does not support it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeType
impl<'de> Deserialize<'de> for NodeType
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>,
impl Eq for NodeType
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnsafeUnpin for NodeType
impl UnwindSafe for NodeType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.