pub struct NewGoalHandle<G> { /* private fields */ }Expand description
NewGoalHandle is received from an action client. It can be either accepted
of rejected.
NewGoalHandle , AcceptedGoalHandle, and ExecutingGoalHandle are
different types because they support different operations.
AcceptedGoalHandle is the result of action server accepting a goal. The
action server can either start executing, or abort the goal, if it is no
longer possible.
ExecutingGoalHandle is the result of starting exeuction on a goal. It
supports:
publish_feedback- Notify action client that goal makes progresssend_result_response- Send the final result of the goal to the client (even if not successful)abort_executing_goal- Abort the goal, if it is no longer executable.
Implementations§
Trait Implementations§
Source§impl<G: Clone> Clone for NewGoalHandle<G>
impl<G: Clone> Clone for NewGoalHandle<G>
Source§fn clone(&self) -> NewGoalHandle<G>
fn clone(&self) -> NewGoalHandle<G>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<G: Copy> Copy for NewGoalHandle<G>
Auto Trait Implementations§
impl<G> Freeze for NewGoalHandle<G>
impl<G> RefUnwindSafe for NewGoalHandle<G>where
G: RefUnwindSafe,
impl<G> Send for NewGoalHandle<G>where
G: Send,
impl<G> Sync for NewGoalHandle<G>where
G: Sync,
impl<G> Unpin for NewGoalHandle<G>where
G: Unpin,
impl<G> UnwindSafe for NewGoalHandle<G>where
G: UnwindSafe,
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