pub enum DataRepMatchMode {
Strict,
Tolerant,
}Expand description
DataRepMatchMode — determines how writer and reader compare
DataRep lists.
- Strict (XTypes 1.3 §7.6.3.1.2 normative): the writer’s FIRST element must be in the reader’s list. Exactly like RTI Connext.
- Tolerant (industry norm, Cyclone + FastDDS): match when the lists overlap (any-overlap), wire format = first-overlap.
Default in ZeroDDS: Tolerant — maximizes interop, because our
own readers also match RTI writers even when the first element is
not 100% identical.
Variants§
Strict
Strict-spec match: Writer.first ∈ Reader.list.
Tolerant
Tolerant match: any element in Writer.list ∈ Reader.list. Industry default.
Trait Implementations§
Source§impl Clone for DataRepMatchMode
impl Clone for DataRepMatchMode
Source§fn clone(&self) -> DataRepMatchMode
fn clone(&self) -> DataRepMatchMode
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 moreimpl Copy for DataRepMatchMode
Source§impl Debug for DataRepMatchMode
impl Debug for DataRepMatchMode
Source§impl Default for DataRepMatchMode
impl Default for DataRepMatchMode
Source§fn default() -> DataRepMatchMode
fn default() -> DataRepMatchMode
Returns the “default value” for a type. Read more
impl Eq for DataRepMatchMode
Source§impl PartialEq for DataRepMatchMode
impl PartialEq for DataRepMatchMode
impl StructuralPartialEq for DataRepMatchMode
Auto Trait Implementations§
impl Freeze for DataRepMatchMode
impl RefUnwindSafe for DataRepMatchMode
impl Send for DataRepMatchMode
impl Sync for DataRepMatchMode
impl Unpin for DataRepMatchMode
impl UnsafeUnpin for DataRepMatchMode
impl UnwindSafe for DataRepMatchMode
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