Skip to main content

DynNode

Type Alias DynNode 

Source
pub type DynNode<TState, TResourceKey = Cow<'static, str>> = dyn Node<TState, TResourceKey, PrepResult = DefaultNodeResult, ExecResult = DefaultNodeResult> + Send + Sync;
Expand description

Type alias for a dynamic node trait object.

Use this when you need to store different node types in the same collection. TResourceKey defaults to Cow<'static, str> to match Resources; pass an enum key type for typed resource lookups.