pub struct Heartbeat {
pub final_flag: bool,
pub liveliness_flag: bool,
pub reader_id: EntityId,
pub writer_id: EntityId,
pub first_sn: SequenceNumber,
pub last_sn: SequenceNumber,
pub count: Count,
pub group_info: Option<HeartbeatGroupInfo>,
}Expand description
HEARTBEAT: a writer tells readers which sequence numbers it has (8.3.8.6).
Fields§
§final_flag: boolFinalFlag: the reader does not have to reply.
liveliness_flag: boolLivelinessFlag: the DataWriter asserted its liveliness manually.
reader_id: EntityIdThe reader, or EntityId::UNKNOWN for all readers.
writer_id: EntityIdThe writer.
first_sn: SequenceNumberThe first sequence number still available.
last_sn: SequenceNumberThe last sequence number ever written.
count: CountIncremented with each new HEARTBEAT.
group_info: Option<HeartbeatGroupInfo>Group information (flag G).
Trait Implementations§
impl Eq for Heartbeat
impl StructuralPartialEq for Heartbeat
Auto Trait Implementations§
impl Forget for Heartbeat
impl Freeze for Heartbeat
impl Move for Heartbeat
impl RefUnwindSafe for Heartbeat
impl Send for Heartbeat
impl Sync for Heartbeat
impl Unpin for Heartbeat
impl UnsafeUnpin for Heartbeat
impl UnwindSafe for Heartbeat
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