pub struct AsyncDomainParticipantFactory { /* private fields */ }Expand description
Async-Wrapper um den Sync-Singleton. instance() liefert immer den
gleichen Singleton; create_participant-Methoden teilen den State
mit der sync-API.
Implementations§
Source§impl AsyncDomainParticipantFactory
impl AsyncDomainParticipantFactory
Sourcepub fn create_participant_offline(
&self,
domain_id: i32,
) -> AsyncDomainParticipant
pub fn create_participant_offline( &self, domain_id: i32, ) -> AsyncDomainParticipant
Offline-Participant (kein UDP-Bind). Spec §1.1.
Sourcepub fn create_participant(
&self,
domain_id: i32,
) -> Result<AsyncDomainParticipant>
pub fn create_participant( &self, domain_id: i32, ) -> Result<AsyncDomainParticipant>
Sourcepub fn create_participant_with_qos(
&self,
domain_id: i32,
qos: DomainParticipantQos,
) -> Result<AsyncDomainParticipant>
pub fn create_participant_with_qos( &self, domain_id: i32, qos: DomainParticipantQos, ) -> Result<AsyncDomainParticipant>
Like create_participant aber mit eigener QoS.
§Errors
Wie DomainParticipantFactory::create_participant.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncDomainParticipantFactory
impl RefUnwindSafe for AsyncDomainParticipantFactory
impl Send for AsyncDomainParticipantFactory
impl Sync for AsyncDomainParticipantFactory
impl Unpin for AsyncDomainParticipantFactory
impl UnsafeUnpin for AsyncDomainParticipantFactory
impl UnwindSafe for AsyncDomainParticipantFactory
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