Skip to main content

ActionServerRawHandle

Struct ActionServerRawHandle 

Source
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

Source§

fn invalid() -> ActionServerRawHandle

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

The FFI entry point; see ActionServerRawHandle::is_invalid in action.rs.
Source§

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>

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>

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, )

The FFI entry point; see ActionServerRawHandle::set_goal_status in action.rs.
Source§

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

The FFI entry point; see ActionServerRawHandle::goal_exists in action.rs.
Source§

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), )

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>

The FFI entry point; see ActionServerRawHandle::goal_status in action.rs.
Source§

impl Clone for ActionServerRawHandle

Source§

fn clone(&self) -> ActionServerRawHandle

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ActionServerRawHandle

Source§

impl Default for ActionServerRawHandle

Source§

fn default() -> ActionServerRawHandle

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.