#[repr(C)]pub enum PamojaEntityKind {
Topic = 0,
ServiceRequest = 1,
ServiceResponse = 2,
}Expand description
The ROS 2 subsystem a name belongs to, which fixes its DDS prefix.
Variants§
Topic = 0
A topic, which takes the rt prefix.
ServiceRequest = 1
The request side of a service, which takes the rq prefix.
ServiceResponse = 2
The reply side of a service, which takes the rr prefix.
Trait Implementations§
Source§impl Clone for PamojaEntityKind
impl Clone for PamojaEntityKind
Source§fn clone(&self) -> PamojaEntityKind
fn clone(&self) -> PamojaEntityKind
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 PamojaEntityKind
Source§impl Debug for PamojaEntityKind
impl Debug for PamojaEntityKind
impl Eq for PamojaEntityKind
Source§impl From<PamojaEntityKind> for EntityKind
impl From<PamojaEntityKind> for EntityKind
Source§fn from(kind: PamojaEntityKind) -> Self
fn from(kind: PamojaEntityKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaEntityKind
impl PartialEq for PamojaEntityKind
Source§fn eq(&self, other: &PamojaEntityKind) -> bool
fn eq(&self, other: &PamojaEntityKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaEntityKind
Auto Trait Implementations§
impl Freeze for PamojaEntityKind
impl RefUnwindSafe for PamojaEntityKind
impl Send for PamojaEntityKind
impl Sync for PamojaEntityKind
impl Unpin for PamojaEntityKind
impl UnsafeUnpin for PamojaEntityKind
impl UnwindSafe for PamojaEntityKind
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