pub struct LivelinessChangedStatus {
pub alive_count: u32,
pub not_alive_count: u32,
pub alive_count_change: i32,
pub not_alive_count_change: i32,
pub last_publication_handle: Option<Guid>,
}Expand description
LIVELINESS_CHANGED of a reader (DDS 1.4, 2.2.4.1): how many of its matched writers are alive, and how many are not.
A writer counts as alive once it is matched. It becomes not alive when its lease passes without it asserting its liveliness, and alive again when it asserts it. A writer that goes away is no longer counted.
Fields§
§alive_count: u32The matched writers alive now.
not_alive_count: u32The matched writers not alive now.
alive_count_change: i32The change in alive_count since the status was last read.
not_alive_count_change: i32The change in not_alive_count since the status was last read.
last_publication_handle: Option<Guid>The last writer whose liveliness changed.
Trait Implementations§
Source§impl Clone for LivelinessChangedStatus
impl Clone for LivelinessChangedStatus
impl Copy for LivelinessChangedStatus
Source§impl Debug for LivelinessChangedStatus
impl Debug for LivelinessChangedStatus
Source§impl Default for LivelinessChangedStatus
impl Default for LivelinessChangedStatus
impl Eq for LivelinessChangedStatus
Source§impl PartialEq for LivelinessChangedStatus
impl PartialEq for LivelinessChangedStatus
impl StructuralPartialEq for LivelinessChangedStatus
Auto Trait Implementations§
impl Forget for LivelinessChangedStatus
impl Freeze for LivelinessChangedStatus
impl Move 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