pub struct CoalescerStats {
pub event_count: u64,
pub regime: Regime,
pub event_rate: f64,
pub has_pending: bool,
pub last_applied: (u16, u16),
}Expand description
Statistics about the coalescer state.
Fields§
§event_count: u64Total events processed.
regime: RegimeCurrent regime.
event_rate: f64Current event rate (events/sec).
has_pending: boolWhether there’s a pending resize.
last_applied: (u16, u16)Last applied size.
Trait Implementations§
Source§impl Clone for CoalescerStats
impl Clone for CoalescerStats
Source§fn clone(&self) -> CoalescerStats
fn clone(&self) -> CoalescerStats
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 moreAuto Trait Implementations§
impl Freeze for CoalescerStats
impl RefUnwindSafe for CoalescerStats
impl Send for CoalescerStats
impl Sync for CoalescerStats
impl Unpin for CoalescerStats
impl UnsafeUnpin for CoalescerStats
impl UnwindSafe for CoalescerStats
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