pub enum ChangeKind {
Alive,
AliveFiltered,
NotAliveDisposed,
NotAliveUnregistered,
NotAliveDisposedUnregistered,
}Expand description
Kind of a cache entry (DDSI-RTPS §8.2.1.2 / §8.7.2.2.2).
Variants§
Alive
Valid sample, accepted by the DDS DataReader filter.
AliveFiltered
Valid sample, discarded by the reader-side filter (TIME_BASED_FILTER /
ContentFilteredTopic) — but stays “available” in the NACK
path, so the reliable writer does not re-send it
(filteredCount counter in ChangeFromWriter).
NotAliveDisposed
dispose marker.
NotAliveUnregistered
unregister marker.
NotAliveDisposedUnregistered
Combined dispose+unregister.
Implementations§
Source§impl ChangeKind
impl ChangeKind
Sourcepub fn is_relevant(self) -> bool
pub fn is_relevant(self) -> bool
Spec §8.4.10.5 — is_relevant true for all live kinds; only
AliveFiltered is explicitly not relevant for the DDS
user-API path (but counts as “received” in the NACK path).
Sourcepub fn is_alive_kind(self) -> bool
pub fn is_alive_kind(self) -> bool
Spec §8.4.10.5 — is_alive_kind covers Alive + AliveFiltered.
Trait Implementations§
Source§impl Clone for ChangeKind
impl Clone for ChangeKind
Source§fn clone(&self) -> ChangeKind
fn clone(&self) -> ChangeKind
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 ChangeKind
Source§impl Debug for ChangeKind
impl Debug for ChangeKind
impl Eq for ChangeKind
Source§impl PartialEq for ChangeKind
impl PartialEq for ChangeKind
impl StructuralPartialEq for ChangeKind
Auto Trait Implementations§
impl Freeze for ChangeKind
impl RefUnwindSafe for ChangeKind
impl Send for ChangeKind
impl Sync for ChangeKind
impl Unpin for ChangeKind
impl UnsafeUnpin for ChangeKind
impl UnwindSafe for ChangeKind
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