pub struct CoordinationMetrics {
pub leadership_changes: u64,
pub write_conflicts: u64,
pub follower_refreshes: u64,
pub avg_notification_latency_ms: f64,
pub total_notifications: u64,
pub start_timestamp: f64,
}Expand description
Coordination metrics for multi-tab coordination
Fields§
§leadership_changes: u64Total number of leadership changes
write_conflicts: u64Total number of write conflicts (non-leader write attempts)
follower_refreshes: u64Total number of follower refreshes
avg_notification_latency_ms: f64Average notification latency in milliseconds
total_notifications: u64Total notifications sent/received
start_timestamp: f64Timestamp when metrics started tracking
Trait Implementations§
Source§impl Clone for CoordinationMetrics
impl Clone for CoordinationMetrics
Source§fn clone(&self) -> CoordinationMetrics
fn clone(&self) -> CoordinationMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 CoordinationMetrics
impl Debug for CoordinationMetrics
Source§impl<'de> Deserialize<'de> for CoordinationMetrics
impl<'de> Deserialize<'de> for CoordinationMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoordinationMetrics
impl RefUnwindSafe for CoordinationMetrics
impl Send for CoordinationMetrics
impl Sync for CoordinationMetrics
impl Unpin for CoordinationMetrics
impl UnwindSafe for CoordinationMetrics
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