Struct rustdds::dds::Topic [−][src]
pub struct Topic { /* fields omitted */ }Expand description
DDS Topic
Examples
use rustdds::dds::DomainParticipant;
use rustdds::dds::qos::QosPolicyBuilder;
use rustdds::dds::Topic;
use rustdds::dds::data_types::TopicKind;
let domain_participant = DomainParticipant::new(0).unwrap();
let qos = QosPolicyBuilder::new().build();
let topic = domain_participant
.create_topic("some_topic".to_string(), "SomeType".to_string(), &qos, TopicKind::WithKey)
.unwrap();Implementations
Trait Implementations
Implements some default topic interfaces functions defined in DDS spec
Gets DomainParticipant if it is still alive.
Auto Trait Implementations
impl RefUnwindSafe for Topic
impl UnwindSafe for Topic
Blanket Implementations
Mutably borrows from an owned value. Read more