pub struct NodeActionClientRaw { /* private fields */ }Expand description
Raw (opaque bytes) action client from [Node::create_action_client_raw].
Implementations§
Source§impl NodeActionClientRaw
impl NodeActionClientRaw
pub fn action_name(&self) -> &str
Sourcepub fn action_server_is_ready(&self) -> bool
pub fn action_server_is_ready(&self) -> bool
Best-effort: console reports workers > 0 for this action.
Sourcepub fn wait_for_action_server(&self, timeout: Option<Duration>) -> bool
pub fn wait_for_action_server(&self, timeout: Option<Duration>) -> bool
Poll until action_server_is_ready or timeout.
pub fn send_goal( &self, body: &[u8], goal_id: Option<&str>, timeout: Option<Duration>, feedback_callback: Option<RawActionFeedbackCallback>, ) -> Result<RawGoalHandle>
Sourcepub fn send_goal_and_wait(
&self,
body: &[u8],
goal_id: Option<&str>,
timeout: Option<Duration>,
) -> Result<Vec<ActionMessage>>
pub fn send_goal_and_wait( &self, body: &[u8], goal_id: Option<&str>, timeout: Option<Duration>, ) -> Result<Vec<ActionMessage>>
Compatibility helper that waits for and collects FEEDBACK/RESULT.
Sourcepub fn collect(
&self,
body: &[u8],
goal_id: Option<&str>,
timeout: Option<Duration>,
) -> Result<Vec<ActionMessage>>
pub fn collect( &self, body: &[u8], goal_id: Option<&str>, timeout: Option<Duration>, ) -> Result<Vec<ActionMessage>>
Alias for send_goal_and_wait.
pub fn high_water_mark(&self) -> Result<HighWaterMark>
pub fn set_high_water_mark(&self, hwm: HighWaterMark) -> Result<()>
Auto Trait Implementations§
impl !Freeze for NodeActionClientRaw
impl RefUnwindSafe for NodeActionClientRaw
impl Send for NodeActionClientRaw
impl Sync for NodeActionClientRaw
impl Unpin for NodeActionClientRaw
impl UnsafeUnpin for NodeActionClientRaw
impl UnwindSafe for NodeActionClientRaw
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