#[repr(C)]pub struct SignaledCallback<'a> {
pub cb_id: &'a str,
pub ctx_ptr: *mut c_void,
}Expand description
Layer-clean substitute for nros::node_metadata::CallbackId +
nros::node::CallbackCtx at the NodeDispatchRuntime boundary
(Phase 216.A.2). nros-platform sits below nros in the dep
graph, so the trait surface cannot reference those types
directly. The nros-side runtime impl wraps a real
(CallbackId, &mut CallbackCtx) pair into this opaque shape
before invoking NodeDispatchRuntime::signal_callback; the
concrete dispatcher casts ctx_ptr back to
&mut nros::CallbackCtx<'_> at the call site.
#[repr(C)] keeps the layout stable across the (same-language
today, FFI-shaped tomorrow) nros-platform ↔ nros boundary.
Fields§
§cb_id: &'a strStable identifier string carried by nros::CallbackId(&'a str).
ctx_ptr: *mut c_voidErased pointer to the nros::CallbackCtx<'_> the dispatcher
will drive. The nros-side NodeDispatchRuntime impl casts
back to &mut nros::CallbackCtx<'_> before invoking the
component body.