pub struct HeartbeatRequest {
pub request_id: u64,
pub sender_name: String,
pub timestamp_ms: u64,
pub component_alive: bool,
pub ms_since_last_activity: u64,
pub container_state_val: usize,
}Expand description
Enriched form of a HeartbeatRequest, assembled by the container before handing off to the receiver task. Includes component health data that only the container can observe.
Fields§
§request_id: u64§sender_name: String§timestamp_ms: u64§component_alive: bool§ms_since_last_activity: u64§container_state_val: usizeTrait Implementations§
Source§impl Clone for HeartbeatRequest
impl Clone for HeartbeatRequest
Source§fn clone(&self) -> HeartbeatRequest
fn clone(&self) -> HeartbeatRequest
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 moreAuto Trait Implementations§
impl Freeze for HeartbeatRequest
impl RefUnwindSafe for HeartbeatRequest
impl Send for HeartbeatRequest
impl Sync for HeartbeatRequest
impl Unpin for HeartbeatRequest
impl UnsafeUnpin for HeartbeatRequest
impl UnwindSafe for HeartbeatRequest
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