pub struct LivelinessChangedStatus {
pub alive_count: i32,
pub not_alive_count: i32,
pub alive_count_change: i32,
pub not_alive_count_change: i32,
pub last_publication_handle: InstanceHandle,
}Expand description
LIVELINESS_CHANGED_STATUS — Spec §2.2.4.1 + §2.2.2.5.6.
Reader-Seite: “Reports the status of the liveliness of one or more
DataWriter objects that are matched with the DataReader.”
Anders als die Plain-Counter-Statuses dürfen *_count_change hier
negativ werden, wenn z.B. ein als “alive” deklarierter Writer
jetzt als “not_alive” zählt (übersprungen von alive_count zu
not_alive_count).
Fields§
§alive_count: i32Number of currently-alive matched writers.
not_alive_count: i32Number of currently-not-alive matched writers.
alive_count_change: i32Change in alive_count since the last read.
not_alive_count_change: i32Change in not_alive_count since the last read.
last_publication_handle: InstanceHandleHandle of the last writer that triggered the change.
Trait Implementations§
Source§impl Clone for LivelinessChangedStatus
impl Clone for LivelinessChangedStatus
Source§fn clone(&self) -> LivelinessChangedStatus
fn clone(&self) -> LivelinessChangedStatus
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 LivelinessChangedStatus
impl Debug for LivelinessChangedStatus
Source§impl Default for LivelinessChangedStatus
impl Default for LivelinessChangedStatus
Source§fn default() -> LivelinessChangedStatus
fn default() -> LivelinessChangedStatus
Returns the “default value” for a type. Read more
Source§impl Hash for LivelinessChangedStatus
impl Hash for LivelinessChangedStatus
Source§impl PartialEq for LivelinessChangedStatus
impl PartialEq for LivelinessChangedStatus
Source§fn eq(&self, other: &LivelinessChangedStatus) -> bool
fn eq(&self, other: &LivelinessChangedStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LivelinessChangedStatus
impl Eq for LivelinessChangedStatus
impl StructuralPartialEq for LivelinessChangedStatus
Auto Trait Implementations§
impl Freeze for LivelinessChangedStatus
impl RefUnwindSafe for LivelinessChangedStatus
impl Send for LivelinessChangedStatus
impl Sync for LivelinessChangedStatus
impl Unpin for LivelinessChangedStatus
impl UnsafeUnpin for LivelinessChangedStatus
impl UnwindSafe for LivelinessChangedStatus
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