pub struct AsyncSubscriber { /* private fields */ }Expand description
Async-Wrapper um Subscriber.
Implementations§
Source§impl AsyncSubscriber
impl AsyncSubscriber
Sourcepub fn create_datareader<T: DdsType + Send + Sync + 'static>(
&self,
topic: &Topic<T>,
qos: DataReaderQos,
) -> Result<AsyncDataReader<T>>
pub fn create_datareader<T: DdsType + Send + Sync + 'static>( &self, topic: &Topic<T>, qos: DataReaderQos, ) -> Result<AsyncDataReader<T>>
Sourcepub fn as_sync(&self) -> &Subscriber
pub fn as_sync(&self) -> &Subscriber
Liefert die zugrundeliegende sync-Variante.
Trait Implementations§
Source§impl Clone for AsyncSubscriber
impl Clone for AsyncSubscriber
Source§fn clone(&self) -> AsyncSubscriber
fn clone(&self) -> AsyncSubscriber
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 AsyncSubscriber
impl !RefUnwindSafe for AsyncSubscriber
impl Send for AsyncSubscriber
impl Sync for AsyncSubscriber
impl Unpin for AsyncSubscriber
impl UnsafeUnpin for AsyncSubscriber
impl !UnwindSafe for AsyncSubscriber
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