#[repr(i8)]pub enum GoalStatus {
Unknown = 0,
Accepted = 1,
Executing = 2,
Canceling = 3,
Succeeded = 4,
Canceled = 5,
Aborted = 6,
}Expand description
Goal status states
These states match action_msgs/msg/GoalStatus from ROS 2.
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§
Source§impl GoalStatus
impl GoalStatus
Trait Implementations§
Source§impl Clone for GoalStatus
impl Clone for GoalStatus
Source§fn clone(&self) -> GoalStatus
fn clone(&self) -> GoalStatus
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 moreSource§impl Debug for GoalStatus
impl Debug for GoalStatus
Source§impl Default for GoalStatus
impl Default for GoalStatus
Source§fn default() -> GoalStatus
fn default() -> GoalStatus
Returns the “default value” for a type. Read more
Source§impl Deserialize for GoalStatus
impl Deserialize for GoalStatus
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 GoalStatus
impl Display for GoalStatus
Source§impl Hash for GoalStatus
impl Hash for GoalStatus
Source§impl PartialEq for GoalStatus
impl PartialEq for GoalStatus
Source§impl Serialize for GoalStatus
impl Serialize for GoalStatus
impl Copy for GoalStatus
impl Eq for GoalStatus
impl StructuralPartialEq for GoalStatus
Auto Trait Implementations§
impl Freeze for GoalStatus
impl RefUnwindSafe for GoalStatus
impl Send for GoalStatus
impl Sync for GoalStatus
impl Unpin for GoalStatus
impl UnsafeUnpin for GoalStatus
impl UnwindSafe for GoalStatus
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