pub struct HddsDdsInterface { /* private fields */ }Expand description
HDDS-backed implementation of the persistence DDS interface.
Implementations§
Source§impl HddsDdsInterface
impl HddsDdsInterface
Sourcepub fn new(participant: Arc<Participant>) -> Result<Self>
pub fn new(participant: Arc<Participant>) -> Result<Self>
Create a new HDDS-backed DDS interface.
Trait Implementations§
Source§impl DdsInterface for HddsDdsInterface
impl DdsInterface for HddsDdsInterface
Source§fn create_reader(
&self,
topic: &str,
type_name: &str,
durability: DurabilityKind,
) -> Result<Box<dyn DataReader>>
fn create_reader( &self, topic: &str, type_name: &str, durability: DurabilityKind, ) -> Result<Box<dyn DataReader>>
Create a data reader for a topic Read more
Source§fn create_writer(
&self,
topic: &str,
type_name: &str,
durability: DurabilityKind,
) -> Result<Box<dyn DataWriter>>
fn create_writer( &self, topic: &str, type_name: &str, durability: DurabilityKind, ) -> Result<Box<dyn DataWriter>>
Create a data writer for a topic Read more
Source§fn discovered_readers(
&self,
topic_pattern: &str,
) -> Result<Vec<DiscoveredReader>>
fn discovered_readers( &self, topic_pattern: &str, ) -> Result<Vec<DiscoveredReader>>
Get list of discovered readers matching a topic pattern
Source§fn discovered_writers(
&self,
topic_pattern: &str,
) -> Result<Vec<DiscoveredWriter>>
fn discovered_writers( &self, topic_pattern: &str, ) -> Result<Vec<DiscoveredWriter>>
Get list of discovered writers matching a topic pattern
Source§fn wait_for_discovery(&self, timeout: Duration) -> Result<bool>
fn wait_for_discovery(&self, timeout: Duration) -> Result<bool>
Wait for discovery events Read more
Source§fn register_discovery_callback(
&self,
callback: Arc<dyn DiscoveryCallback>,
) -> Result<()>
fn register_discovery_callback( &self, callback: Arc<dyn DiscoveryCallback>, ) -> Result<()>
Register a discovery callback for endpoint events.
Auto Trait Implementations§
impl Freeze for HddsDdsInterface
impl !RefUnwindSafe for HddsDdsInterface
impl Send for HddsDdsInterface
impl Sync for HddsDdsInterface
impl Unpin for HddsDdsInterface
impl UnsafeUnpin for HddsDdsInterface
impl !UnwindSafe for HddsDdsInterface
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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