pub struct ActionServerRawHandle { /* private fields */ }Expand description
Handle to a raw (untyped) action server registered in the executor’s arena.
Returned by ExecutorFfi::register_action_server_raw(). Provides methods
to interact with the server using raw CDR bytes.
Trait Implementations§
Source§impl ActionServerRawHandleFfi for ActionServerRawHandle
impl ActionServerRawHandleFfi for ActionServerRawHandle
Source§fn invalid() -> Self
fn invalid() -> Self
The FFI entry point; see
ActionServerRawHandle::invalid in action.rs
(a const fn there; a trait method cannot be one).Source§fn is_invalid(&self) -> bool
fn is_invalid(&self) -> bool
The FFI entry point; see
ActionServerRawHandle::is_invalid in action.rs.Source§fn handle_id(&self) -> HandleId
fn handle_id(&self) -> HandleId
The FFI entry point; see
ActionServerRawHandle::handle_id in action.rs.Source§fn publish_feedback_raw(
&self,
executor: &mut Executor<'_>,
goal_id: &GoalUuid,
feedback_data: &[u8],
) -> Result<(), NodeError>
fn publish_feedback_raw( &self, executor: &mut Executor<'_>, goal_id: &GoalUuid, feedback_data: &[u8], ) -> Result<(), NodeError>
The FFI entry point; see
ActionServerRawHandle::publish_feedback_raw in action.rs.Source§fn complete_goal_raw(
&self,
executor: &mut Executor<'_>,
goal_id: &GoalUuid,
status: GoalStatusCode,
result_data: &[u8],
) -> Result<(), NodeError>
fn complete_goal_raw( &self, executor: &mut Executor<'_>, goal_id: &GoalUuid, status: GoalStatusCode, result_data: &[u8], ) -> Result<(), NodeError>
The FFI entry point; see
ActionServerRawHandle::complete_goal_raw in action.rs.Source§fn set_goal_status(
&self,
executor: &mut Executor<'_>,
goal_id: &GoalUuid,
status: GoalStatusCode,
)
fn set_goal_status( &self, executor: &mut Executor<'_>, goal_id: &GoalUuid, status: GoalStatusCode, )
The FFI entry point; see
ActionServerRawHandle::set_goal_status in action.rs.Source§fn active_goal_count(&self, executor: &Executor<'_>) -> usize
fn active_goal_count(&self, executor: &Executor<'_>) -> usize
The FFI entry point; see
ActionServerRawHandle::active_goal_count in action.rs.Source§fn goal_exists(&self, executor: &Executor<'_>, goal_id: &GoalUuid) -> bool
fn goal_exists(&self, executor: &Executor<'_>, goal_id: &GoalUuid) -> bool
The FFI entry point; see
ActionServerRawHandle::goal_exists in action.rs.Source§fn expire_goals(&self, executor: &mut Executor<'_>) -> usize
fn expire_goals(&self, executor: &mut Executor<'_>) -> usize
The FFI entry point; see
ActionServerRawHandle::expire_goals in action.rs.Source§fn for_each_active_goal(
&self,
executor: &Executor<'_>,
f: impl FnMut(&RawActiveGoal),
)
fn for_each_active_goal( &self, executor: &Executor<'_>, f: impl FnMut(&RawActiveGoal), )
The FFI entry point; see
ActionServerRawHandle::for_each_active_goal in action.rs.Source§fn goal_status(
&self,
executor: &Executor<'_>,
goal_id: &GoalUuid,
) -> Option<GoalStatusCode>
fn goal_status( &self, executor: &Executor<'_>, goal_id: &GoalUuid, ) -> Option<GoalStatusCode>
The FFI entry point; see
ActionServerRawHandle::goal_status in action.rs.Source§impl Clone for ActionServerRawHandle
impl Clone for ActionServerRawHandle
impl Copy for ActionServerRawHandle
Auto Trait Implementations§
impl Freeze for ActionServerRawHandle
impl RefUnwindSafe for ActionServerRawHandle
impl Send for ActionServerRawHandle
impl Sync for ActionServerRawHandle
impl Unpin for ActionServerRawHandle
impl UnsafeUnpin for ActionServerRawHandle
impl UnwindSafe for ActionServerRawHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more