pub enum DataRepMatchMode {
Strict,
Tolerant,
}Expand description
DataRepMatchMode — bestimmt, wie Writer und Reader DataRep-
Listen vergleichen.
- Strict (XTypes 1.3 §7.6.3.1.2 normativ): Writer’s FIRST Element muss in Reader’s List sein. Genau wie RTI Connext.
- Tolerant (Industry-Norm, Cyclone + FastDDS): Match wenn die Listen ueberlappen (any-overlap), Wire-Format = first-overlap.
Default in ZeroDDS: Tolerant — maximiert Interop, weil unsere
eigenen Reader auch dann RTI-Writer matchen, wenn das first-Element
nicht 100% deckungsgleich ist.
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 moreSource§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
Source§impl PartialEq for DataRepMatchMode
impl PartialEq for DataRepMatchMode
Source§fn eq(&self, other: &DataRepMatchMode) -> bool
fn eq(&self, other: &DataRepMatchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DataRepMatchMode
impl Eq 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