pub struct AggregatorReplicaRow {
pub generation: u64,
pub healthy: bool,
pub diagnostic: Option<String>,
pub placement_node_id: Option<u64>,
}Expand description
Per-replica row in an AggregatorRegistryGroupSnapshot.
One per replica in declaration order.
Fields§
§generation: u64Replica’s monotonic tick counter.
healthy: booltrue when the replica’s last tick was within
3 × summary_interval.
diagnostic: Option<String>Operator-facing diagnostic when healthy == false.
placement_node_id: Option<u64>Placement decision recorded at spawn time (only present
when the group was spawned via
LifecycleGroup::spawn_with_placement).
Trait Implementations§
Source§impl Clone for AggregatorReplicaRow
impl Clone for AggregatorReplicaRow
Source§fn clone(&self) -> AggregatorReplicaRow
fn clone(&self) -> AggregatorReplicaRow
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 AggregatorReplicaRow
impl RefUnwindSafe for AggregatorReplicaRow
impl Send for AggregatorReplicaRow
impl Sync for AggregatorReplicaRow
impl Unpin for AggregatorReplicaRow
impl UnsafeUnpin for AggregatorReplicaRow
impl UnwindSafe for AggregatorReplicaRow
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