pub enum CapabilityRole {
Localization,
Mapping,
Traversability,
Odometry,
Perception,
Safety,
}Expand description
The canonical purpose assigned to a component capability by an authored robot manifest.
Roles are source/runtime contract facts rather than service names. Keeping the closed vocabulary in the canonical model means every reader of a compiled manifest agrees on the same spelling and set of values.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityRole
impl Clone for CapabilityRole
Source§fn clone(&self) -> CapabilityRole
fn clone(&self) -> CapabilityRole
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 CapabilityRole
Source§impl Debug for CapabilityRole
impl Debug for CapabilityRole
Source§impl DescribeWire for CapabilityRole
impl DescribeWire for CapabilityRole
Source§fn wire_schema() -> WireSchema
fn wire_schema() -> WireSchema
The shape a value of this type puts on the wire.
Source§impl<'de> Deserialize<'de> for CapabilityRole
impl<'de> Deserialize<'de> for CapabilityRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CapabilityRole
impl Display for CapabilityRole
impl Eq for CapabilityRole
Source§impl Hash for CapabilityRole
impl Hash for CapabilityRole
Source§impl Ord for CapabilityRole
impl Ord for CapabilityRole
Source§fn cmp(&self, other: &CapabilityRole) -> Ordering
fn cmp(&self, other: &CapabilityRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CapabilityRole
impl PartialEq for CapabilityRole
Source§impl PartialOrd for CapabilityRole
impl PartialOrd for CapabilityRole
Source§impl Serialize for CapabilityRole
impl Serialize for CapabilityRole
impl StructuralPartialEq for CapabilityRole
Auto Trait Implementations§
impl Freeze for CapabilityRole
impl RefUnwindSafe for CapabilityRole
impl Send for CapabilityRole
impl Sync for CapabilityRole
impl Unpin for CapabilityRole
impl UnsafeUnpin for CapabilityRole
impl UnwindSafe for CapabilityRole
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