pub struct UserWriterConfig {Show 15 fields
pub topic_name: String,
pub type_name: String,
pub reliable: bool,
pub durability: DurabilityKind,
pub deadline: DeadlineQosPolicy,
pub lifespan: LifespanQosPolicy,
pub liveliness: LivelinessQosPolicy,
pub ownership: OwnershipKind,
pub ownership_strength: i32,
pub partition: Vec<String>,
pub user_data: Vec<u8>,
pub topic_data: Vec<u8>,
pub group_data: Vec<u8>,
pub type_identifier: TypeIdentifier,
pub data_representation_offer: Option<Vec<i16>>,
}Expand description
monitoring. Avoids 10+-argument functions.
Fields§
§topic_name: StringTopic name (DDS topic).
type_name: StringIDL type name.
reliable: booltrue = RELIABLE, false = BEST_EFFORT.
durability: DurabilityKindDurability.
deadline: DeadlineQosPolicyDeadline period (offered).
lifespan: LifespanQosPolicyLifespan duration (writer-only).
liveliness: LivelinessQosPolicyLiveliness (offered).
ownership: OwnershipKindOwnership mode (Shared / Exclusive).
ownership_strength: i32Strength for Exclusive (ignored for Shared).
partition: Vec<String>Partition list. Empty == default partition ("").
user_data: Vec<u8>UserData QoS (Spec §2.2.3.1) — opaque sequence<octet>, propagated
via discovery.
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). Default
TypeIdentifier::None for the T::TYPE_IDENTIFIER default.
data_representation_offer: Option<Vec<i16>>D.5g — per-writer override of the DataRepresentation offer list.
None = use RuntimeConfig::data_representation_offer.
Some(vec) = overridden per writer (e.g. [XCDR2] for
a modern-only pub).
Trait Implementations§
Source§impl Clone for UserWriterConfig
impl Clone for UserWriterConfig
Source§fn clone(&self) -> UserWriterConfig
fn clone(&self) -> UserWriterConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more