pub type RawResultCallback = unsafe extern "C" fn(goal_id: *const GoalUuid, status: GoalStatusCode, result_data: *const u8, result_len: usize, context: *mut c_void);Expand description
Raw action client result callback.
Called when the action result is received.
§Safety
goal_idis valid for the duration of the callresult_datapoints toresult_lenvalid bytes: the result as a whole CDR message, behind the reply’s own encapsulation header. The executor splices that header in on every backend, so a callback never has to guess whether one is there.