pub struct QosProfileRegistry { /* private fields */ }Expand description
An in-memory set of DDS-XML QoS libraries, resolvable by "Lib::Profile".
Implementations§
Source§impl QosProfileRegistry
impl QosProfileRegistry
Sourcepub fn library_count(&self) -> usize
pub fn library_count(&self) -> usize
Number of loaded libraries.
Sourcepub fn writer_qos(&self, profile_ref: &str) -> Result<WriterQos, XmlError>
pub fn writer_qos(&self, profile_ref: &str) -> Result<WriterQos, XmlError>
Resolves "Lib::Profile" (or unqualified "Profile" → first library) to
a WriterQos, applying the full base_name inheritance chain.
§Errors
XmlError::UnresolvedReference (unknown library/profile) /
XmlError::CircularInheritance / XmlError::InvalidXml.
Trait Implementations§
Source§impl Clone for QosProfileRegistry
impl Clone for QosProfileRegistry
Source§fn clone(&self) -> QosProfileRegistry
fn clone(&self) -> QosProfileRegistry
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 moreSource§impl Debug for QosProfileRegistry
impl Debug for QosProfileRegistry
Source§impl Default for QosProfileRegistry
impl Default for QosProfileRegistry
Source§fn default() -> QosProfileRegistry
fn default() -> QosProfileRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QosProfileRegistry
impl RefUnwindSafe for QosProfileRegistry
impl Send for QosProfileRegistry
impl Sync for QosProfileRegistry
impl Unpin for QosProfileRegistry
impl UnsafeUnpin for QosProfileRegistry
impl UnwindSafe for QosProfileRegistry
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