#[repr(i8)]pub enum CancelResponse {
Ok = 0,
Rejected = 1,
UnknownGoal = 2,
GoalTerminated = 3,
}Expand description
Cancel goal response codes
These codes match action_msgs/srv/CancelGoal response codes.
Variants§
Ok = 0
No error, goal(s) will be canceled
Rejected = 1
Goal was rejected (not cancelable or doesn’t exist)
UnknownGoal = 2
Unknown goal ID
GoalTerminated = 3
Goal is already in a terminal state
Implementations§
Trait Implementations§
Source§impl Clone for CancelResponse
impl Clone for CancelResponse
Source§fn clone(&self) -> CancelResponse
fn clone(&self) -> CancelResponse
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 CancelResponse
impl Debug for CancelResponse
Source§impl Default for CancelResponse
impl Default for CancelResponse
Source§fn default() -> CancelResponse
fn default() -> CancelResponse
Returns the “default value” for a type. Read more
Source§impl Deserialize for CancelResponse
impl Deserialize for CancelResponse
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 PartialEq for CancelResponse
impl PartialEq for CancelResponse
Source§impl Serialize for CancelResponse
impl Serialize for CancelResponse
impl Copy for CancelResponse
impl Eq for CancelResponse
impl StructuralPartialEq for CancelResponse
Auto Trait Implementations§
impl Freeze for CancelResponse
impl RefUnwindSafe for CancelResponse
impl Send for CancelResponse
impl Sync for CancelResponse
impl Unpin for CancelResponse
impl UnsafeUnpin for CancelResponse
impl UnwindSafe for CancelResponse
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