pub struct UserReaderConfig {Show 14 fields
pub topic_name: String,
pub type_name: String,
pub reliable: bool,
pub durability: DurabilityKind,
pub deadline: DeadlineQosPolicy,
pub liveliness: LivelinessQosPolicy,
pub ownership: OwnershipKind,
pub partition: Vec<String>,
pub user_data: Vec<u8>,
pub topic_data: Vec<u8>,
pub group_data: Vec<u8>,
pub type_identifier: TypeIdentifier,
pub type_consistency: TypeConsistencyEnforcement,
pub data_representation_offer: Option<Vec<i16>>,
}Expand description
QoS config for registering a user reader.
Fields§
§topic_name: StringTopic name.
type_name: StringIDL type name.
reliable: booltrue = RELIABLE, false = BEST_EFFORT.
durability: DurabilityKindDurability (requested).
deadline: DeadlineQosPolicyDeadline (requested).
liveliness: LivelinessQosPolicyLiveliness (requested).
ownership: OwnershipKindOwnership.
partition: Vec<String>Partition.
user_data: Vec<u8>UserData QoS (Spec §2.2.3.1).
topic_data: Vec<u8>TopicData QoS (Spec §2.2.3.3).
group_data: Vec<u8>GroupData QoS (Spec §2.2.3.2).
type_identifier: TypeIdentifierXTypes 1.3 §7.3.4.2 TypeIdentifier (F-TYPES-3 wire-up).
type_consistency: TypeConsistencyEnforcementTypeConsistencyEnforcement (XTypes §7.6.3.7) — controls how strictly the reader match checks XTypes compatibility.
data_representation_offer: Option<Vec<i16>>D.5g — per-reader override of the DataRepresentation accept list.
None = use RuntimeConfig::data_representation_offer.
Some(vec) = overridden per reader (e.g. [XCDR1] for
a reader that accepts only legacy XCDR1 wire).
Trait Implementations§
Source§impl Clone for UserReaderConfig
impl Clone for UserReaderConfig
Source§fn clone(&self) -> UserReaderConfig
fn clone(&self) -> UserReaderConfig
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 UserReaderConfig
impl RefUnwindSafe for UserReaderConfig
impl Send for UserReaderConfig
impl Sync for UserReaderConfig
impl Unpin for UserReaderConfig
impl UnsafeUnpin for UserReaderConfig
impl UnwindSafe for UserReaderConfig
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