pub struct TopicDescriptionHandle { /* private fields */ }Expand description
Untypisiertes TopicDescription-Handle, das aus
DomainParticipant::lookup_topicdescription /
DomainParticipant::find_topic zurueckgegeben wird.
Die Spec-API liefert die abstrakte Base-Klasse, weil der Caller
im Generalfall den Typ noch nicht kennt (z.B. nach Discovery).
Wir packen Name + Type-Name + Participant in ein clone-bares
Handle; der Caller kann get_type_name() lesen und sich dann
per create_topic::<T> einen typed Handle holen.
Trait Implementations§
Source§impl Clone for TopicDescriptionHandle
impl Clone for TopicDescriptionHandle
Source§fn clone(&self) -> TopicDescriptionHandle
fn clone(&self) -> TopicDescriptionHandle
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 moreSource§impl Debug for TopicDescriptionHandle
impl Debug for TopicDescriptionHandle
Source§impl TopicDescription for TopicDescriptionHandle
impl TopicDescription for TopicDescriptionHandle
Source§fn get_type_name(&self) -> &str
fn get_type_name(&self) -> &str
Type-Name (z.B.
"std_msgs::msg::String").
Spec §2.2.2.3.1 get_type_name.Source§fn get_participant(&self) -> &DomainParticipant
fn get_participant(&self) -> &DomainParticipant
Owning Participant.
Spec §2.2.2.3.1
get_participant.Auto Trait Implementations§
impl Freeze for TopicDescriptionHandle
impl !RefUnwindSafe for TopicDescriptionHandle
impl Send for TopicDescriptionHandle
impl Sync for TopicDescriptionHandle
impl Unpin for TopicDescriptionHandle
impl UnsafeUnpin for TopicDescriptionHandle
impl !UnwindSafe for TopicDescriptionHandle
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