pub trait DeclaredNodeRuntime {
type NodeHandle: Copy + Eq;
// Required method
fn build_component_node(
&mut self,
id: NodeId<'_>,
options: NodeOptions<'_>,
) -> NodeResult<Self::NodeHandle>;
}Expand description
Runtime node sink used by generated component executors.
Metadata mode records declarations only. Runtime mode maps each stable component node ID to a concrete executor-side node handle; entity callback registration is completed by generated code that owns the actual callback functions.
Required Associated Types§
Sourcetype NodeHandle: Copy + Eq
type NodeHandle: Copy + Eq
Concrete node handle owned by the runtime executor.
Required Methods§
Sourcefn build_component_node(
&mut self,
id: NodeId<'_>,
options: NodeOptions<'_>,
) -> NodeResult<Self::NodeHandle>
fn build_component_node( &mut self, id: NodeId<'_>, options: NodeOptions<'_>, ) -> NodeResult<Self::NodeHandle>
Create a runtime node from source-level component options.
Implementors§
Source§impl DeclaredNodeRuntime for Executor
Available on crate feature rmw-cffi only.
impl DeclaredNodeRuntime for Executor
Available on crate feature
rmw-cffi only.