Skip to main content

Module node

Module node 

Source
Expand description

Rust component API shared by metadata discovery and generated runtimes.

Structs§

Callback
Runtime callback event delivered to an executable Node.
CallbackCtx
Context handed to an executable component callback body (W.5.1).
CallbackEffects
Builder for optional callback effect metadata.
DeclaredNode
Declared component node.
NodeActionClient
Source-level component entity handle.
NodeActionServer
Source-level component entity handle.
NodeContext
Node declaration context. Does not own middleware transport.
NodeOptions
Runtime-neutral node construction options.
NodeParameter
Source-level component entity handle.
NodePublisher
Source-level component entity handle.
NodeRuntimeAdapter
Runtime adapter used by generated main ownership code.
NodeServiceClient
Source-level component entity handle.
NodeServiceServer
Source-level component entity handle.
NodeSubscription
Source-level component entity handle.
NodeTimer
Source-level component entity handle.
RuntimeNodeRecord
Recorded runtime node mapping.
TickCtx
Context handed to ExecutableNode::tick (W.5.6 + M-F.4): the per-spin hook that runs between callback dispatch, where the executor is free. Exposes the immediate publish path (like CallbackCtx) plus executor-backed action-server ops (complete goal / publish feedback) AND executor-backed client-side ops (service call / action-client send_goal). Callbacks can’t perform any of these since they don’t hold the executor.

Enums§

NodeDeclError
Node declaration error.

Constants§

MISSING_NODE_EXPORT_ERROR
Clear diagnostic for packages missing nros::node!.

Traits§

ActionExecutor
The executable counterpart of Node (W.5.1).
ClientDispatch
Executor-backed CLIENT operations a TickCtx drives (Phase 212.M-F.4).
DeclaredNodeRuntime
Runtime node sink used by generated component executors.
ExecutableNode
Node
Rust component entry point.
NodeRuntime
Declaration sink implemented by metadata recorders and generated runtimes.
PublisherResolver
Resolves a component publisher by its stable EntityId for the callback-body publish path (W.5.1).

Functions§

record_node_metadata
Run component registration against an in-memory metadata recorder.
register_node
Run component registration against any component runtime.

Type Aliases§

NodeExecutorRuntime
Runtime adapter backed by Executor.
NodeResult
Result type for component declarations.