#[repr(i8)]pub enum GoalStatusCode {
Unknown = 0,
Accepted = 1,
Executing = 2,
Canceling = 3,
Succeeded = 4,
Canceled = 5,
Aborted = 6,
}Expand description
Goal status states – rclrs’s GoalStatusCode (phase-515 R8).
These states match action_msgs/msg/GoalStatus from ROS 2. It was
GoalStatus, which is a deprecated alias for one release; rclrs gives that
name to the {code, goal_id, stamp} record, which here is
GoalStatusStamped.
A goal progresses through these states during its lifecycle.
Variants§
Unknown = 0
Status has not been set
Accepted = 1
Goal has been accepted and is awaiting execution
Executing = 2
Goal is currently being executed
Canceling = 3
Goal is in the process of being canceled
Succeeded = 4
Goal completed successfully
Canceled = 5
Goal was canceled before completion
Aborted = 6
Goal was aborted due to an error
Implementations§
Trait Implementations§
Source§impl Clone for GoalStatusCode
impl Clone for GoalStatusCode
Source§fn clone(&self) -> GoalStatusCode
fn clone(&self) -> GoalStatusCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GoalStatusCode
Source§impl Debug for GoalStatusCode
impl Debug for GoalStatusCode
Source§impl Default for GoalStatusCode
impl Default for GoalStatusCode
Source§fn default() -> GoalStatusCode
fn default() -> GoalStatusCode
Returns the “default value” for a type. Read more
Source§impl Deserialize for GoalStatusCode
impl Deserialize for GoalStatusCode
Source§fn deserialize(reader: &mut CdrReader<'_>) -> Result<Self, DeserError>
fn deserialize(reader: &mut CdrReader<'_>) -> Result<Self, DeserError>
Deserialize a value from the CDR reader
Source§impl Display for GoalStatusCode
impl Display for GoalStatusCode
impl Eq for GoalStatusCode
Source§impl Hash for GoalStatusCode
impl Hash for GoalStatusCode
Source§impl PartialEq for GoalStatusCode
impl PartialEq for GoalStatusCode
Source§impl Serialize for GoalStatusCode
impl Serialize for GoalStatusCode
impl StructuralPartialEq for GoalStatusCode
Auto Trait Implementations§
impl Freeze for GoalStatusCode
impl RefUnwindSafe for GoalStatusCode
impl Send for GoalStatusCode
impl Sync for GoalStatusCode
impl Unpin for GoalStatusCode
impl UnsafeUnpin for GoalStatusCode
impl UnwindSafe for GoalStatusCode
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