Struct arci_ros::msg::actionlib_msgs::GoalStatus
source · pub struct GoalStatus {
pub goal_id: GoalID,
pub status: u8,
pub text: String,
}
Fields§
§goal_id: GoalID
§status: u8
§text: String
Implementations§
source§impl GoalStatus
impl GoalStatus
pub const PENDING: u8 = 0u8
pub const ACTIVE: u8 = 1u8
pub const PREEMPTED: u8 = 2u8
pub const SUCCEEDED: u8 = 3u8
pub const ABORTED: u8 = 4u8
pub const REJECTED: u8 = 5u8
pub const PREEMPTING: u8 = 6u8
pub const RECALLING: u8 = 7u8
pub const RECALLED: u8 = 8u8
pub const LOST: u8 = 9u8
Trait Implementations§
source§impl Clone for GoalStatus
impl Clone for GoalStatus
source§fn clone(&self) -> GoalStatus
fn clone(&self) -> GoalStatus
Returns a copy 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§impl From<GoalStatus> for MsgMessage
impl From<GoalStatus> for MsgMessage
source§fn from(src: GoalStatus) -> Self
fn from(src: GoalStatus) -> Self
Converts to this type from the input type.
source§impl From<GoalStatus> for MsgValue
impl From<GoalStatus> for MsgValue
source§fn from(src: GoalStatus) -> Self
fn from(src: GoalStatus) -> Self
Converts to this type from the input type.
source§impl Message for GoalStatus
impl Message for GoalStatus
source§impl PartialEq for GoalStatus
impl PartialEq for GoalStatus
source§impl RosMsg for GoalStatus
impl RosMsg 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.