pub struct AsyncDomainParticipant { /* private fields */ }Expand description
Async-Wrapper um DomainParticipant. Topics, Pubs und Subs werden
ueber die Sync-API erzeugt; nur der Newtype wechselt das Async-API
frei.
Implementations§
Source§impl AsyncDomainParticipant
impl AsyncDomainParticipant
Sourcepub fn create_topic<T: DdsType>(
&self,
name: &str,
qos: TopicQos,
) -> Result<Topic<T>>
pub fn create_topic<T: DdsType>( &self, name: &str, qos: TopicQos, ) -> Result<Topic<T>>
Erstellt ein Topic (ist data-only — keine async-Operation).
§Errors
Wie DomainParticipant::create_topic.
Sourcepub fn create_publisher(&self, qos: PublisherQos) -> AsyncPublisher
pub fn create_publisher(&self, qos: PublisherQos) -> AsyncPublisher
Erstellt einen Publisher.
Sourcepub fn create_subscriber(&self, qos: SubscriberQos) -> AsyncSubscriber
pub fn create_subscriber(&self, qos: SubscriberQos) -> AsyncSubscriber
Erstellt einen Subscriber.
Sourcepub fn as_sync(&self) -> &DomainParticipant
pub fn as_sync(&self) -> &DomainParticipant
Liefert die zugrundeliegende sync-Variante.
Trait Implementations§
Source§impl Clone for AsyncDomainParticipant
impl Clone for AsyncDomainParticipant
Source§fn clone(&self) -> AsyncDomainParticipant
fn clone(&self) -> AsyncDomainParticipant
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 moreAuto Trait Implementations§
impl Freeze for AsyncDomainParticipant
impl !RefUnwindSafe for AsyncDomainParticipant
impl Send for AsyncDomainParticipant
impl Sync for AsyncDomainParticipant
impl Unpin for AsyncDomainParticipant
impl UnsafeUnpin for AsyncDomainParticipant
impl !UnwindSafe for AsyncDomainParticipant
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