pub struct Topic<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T> DdsEntity for Topic<T>
impl<T> DdsEntity for Topic<T>
fn entity(&self) -> dds_entity_t
fn get_parent(&self) -> DdsResult<dds_entity_t>
fn get_participant(&self) -> DdsResult<dds_entity_t>
fn get_publisher(&self) -> DdsResult<dds_entity_t>
fn get_subscriber(&self) -> DdsResult<dds_entity_t>
fn get_datareader(&self) -> DdsResult<dds_entity_t>
fn get_topic(&self) -> DdsResult<dds_entity_t>
fn get_children(&self) -> DdsResult<Vec<dds_entity_t>>
fn get_name(&self) -> DdsResult<String>
fn get_type_name(&self) -> DdsResult<String>
fn get_domain_id(&self) -> DdsResult<u32>
fn get_instance_handle(&self) -> DdsResult<dds_instance_handle_t>
fn get_guid(&self) -> DdsResult<dds_guid_t>
Source§fn guid(&self) -> DdsResult<dds_guid_t>
fn guid(&self) -> DdsResult<dds_guid_t>
Convenience alias for
Self::get_guid.Source§fn status(&self) -> DdsResult<EntityStatus>
fn status(&self) -> DdsResult<EntityStatus>
Read a consolidated status snapshot for this entity. Read more
fn enable(&self) -> DdsResult<()>
fn get_status_mask(&self) -> DdsResult<u32>
fn set_status_mask(&self, mask: u32) -> DdsResult<()>
fn get_status_changes(&self) -> DdsResult<u32>
fn read_status(&self, mask: u32) -> DdsResult<u32>
fn take_status(&self, mask: u32) -> DdsResult<u32>
Source§fn status_changes(&self) -> DdsResult<u32>
fn status_changes(&self) -> DdsResult<u32>
Get the set of triggered status bits that have changed since the
last time they were read.
fn triggered(&self) -> DdsResult<bool>
fn create_statistics(&self) -> DdsResult<Statistics>
fn get_qos(&self) -> DdsResult<Qos>
fn get_sertype(&self) -> DdsResult<SertypeHandle>
fn get_type_info(&self) -> DdsResult<TypeInfo>
fn get_type_object( &self, type_id: *const dds_typeid_t, timeout: dds_duration_t, ) -> DdsResult<TypeObject>
fn get_minimal_type_object( &self, timeout: dds_duration_t, ) -> DdsResult<Option<TypeObject>>
fn get_complete_type_object( &self, timeout: dds_duration_t, ) -> DdsResult<Option<TypeObject>>
fn matches_entity_type_info<E: DdsEntity>(&self, other: &E) -> DdsResult<bool>
Source§impl<T: DdsType + 'static> TopicFilterExt<T> for Topic<T>
impl<T: DdsType + 'static> TopicFilterExt<T> for Topic<T>
Source§impl<T: DdsType + 'static> TopicParameterizedFilterExt<T> for Topic<T>
impl<T: DdsType + 'static> TopicParameterizedFilterExt<T> for Topic<T>
Source§fn with_params<F>(
&self,
filter: F,
) -> DdsResult<(ContentFilteredTopic<T>, FilterParams)>
fn with_params<F>( &self, filter: F, ) -> DdsResult<(ContentFilteredTopic<T>, FilterParams)>
Create a content-filtered topic with a parameterized filter. Read more
Auto Trait Implementations§
impl<T> Freeze for Topic<T>
impl<T> RefUnwindSafe for Topic<T>where
T: RefUnwindSafe,
impl<T> !Send for Topic<T>
impl<T> !Sync for Topic<T>
impl<T> Unpin for Topic<T>where
T: Unpin,
impl<T> UnsafeUnpin for Topic<T>
impl<T> UnwindSafe for Topic<T>where
T: UnwindSafe,
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> StatusExt for T
impl<T> StatusExt for T
Source§fn inconsistent_topic_status(&self) -> DdsResult<InconsistentTopicStatus>
fn inconsistent_topic_status(&self) -> DdsResult<InconsistentTopicStatus>
Get the inconsistent-topic status (valid for Topic entities). Read more
Source§fn liveliness_lost_status(&self) -> DdsResult<LivelinessLostStatus>
fn liveliness_lost_status(&self) -> DdsResult<LivelinessLostStatus>
Get the liveliness-lost status (valid for DataWriter entities). Read more
Source§fn liveliness_changed_status(&self) -> DdsResult<LivelinessChangedStatus>
fn liveliness_changed_status(&self) -> DdsResult<LivelinessChangedStatus>
Get the liveliness-changed status (valid for DataReader entities). Read more
Source§fn offered_deadline_missed_status(
&self,
) -> DdsResult<OfferedDeadlineMissedStatus>
fn offered_deadline_missed_status( &self, ) -> DdsResult<OfferedDeadlineMissedStatus>
Get the offered-deadline-missed status (valid for DataWriter entities). Read more
Source§fn offered_incompatible_qos_status(
&self,
) -> DdsResult<OfferedIncompatibleQosStatus>
fn offered_incompatible_qos_status( &self, ) -> DdsResult<OfferedIncompatibleQosStatus>
Get the offered-incompatible-QoS status (valid for DataWriter entities). Read more
Source§fn requested_deadline_missed_status(
&self,
) -> DdsResult<RequestedDeadlineMissedStatus>
fn requested_deadline_missed_status( &self, ) -> DdsResult<RequestedDeadlineMissedStatus>
Get the requested-deadline-missed status (valid for DataReader entities). Read more
Source§fn requested_incompatible_qos_status(
&self,
) -> DdsResult<RequestedIncompatibleQosStatus>
fn requested_incompatible_qos_status( &self, ) -> DdsResult<RequestedIncompatibleQosStatus>
Get the requested-incompatible-QoS status (valid for DataReader entities). Read more
Source§fn sample_lost_status(&self) -> DdsResult<SampleLostStatus>
fn sample_lost_status(&self) -> DdsResult<SampleLostStatus>
Get the sample-lost status (valid for DataReader entities). Read more
Source§fn sample_rejected_status(&self) -> DdsResult<SampleRejectedStatus>
fn sample_rejected_status(&self) -> DdsResult<SampleRejectedStatus>
Get the sample-rejected status (valid for DataReader entities). Read more
Source§fn publication_matched_status(&self) -> DdsResult<PublicationMatchedStatus>
fn publication_matched_status(&self) -> DdsResult<PublicationMatchedStatus>
Get the publication-matched status (valid for DataWriter entities). Read more
Source§fn subscription_matched_status(&self) -> DdsResult<SubscriptionMatchedStatus>
fn subscription_matched_status(&self) -> DdsResult<SubscriptionMatchedStatus>
Get the subscription-matched status (valid for DataReader entities). Read more