pub struct SequenceRingStats {
pub next_sequence_id: u64,
pub reorder_buffer_size: usize,
pub max_window_size: usize,
pub channel_capacity: usize,
}Expand description
Statistics about sequence ring operation
Provides visibility into sequence ring health and performance characteristics.
Fields§
§next_sequence_id: u64Next expected sequence ID
The sequence number of the next record to be emitted.
reorder_buffer_size: usizeCurrent reorder buffer size
Number of out-of-order records currently buffered. High values indicate significant processing variance between workers.
max_window_size: usizeMaximum reorder window size
Warning threshold for reorder buffer size.
channel_capacity: usizeChannel capacity
Maximum records in flight between workers and consumer.
Trait Implementations§
Source§impl Clone for SequenceRingStats
impl Clone for SequenceRingStats
Source§fn clone(&self) -> SequenceRingStats
fn clone(&self) -> SequenceRingStats
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 SequenceRingStats
impl RefUnwindSafe for SequenceRingStats
impl Send for SequenceRingStats
impl Sync for SequenceRingStats
impl Unpin for SequenceRingStats
impl UnsafeUnpin for SequenceRingStats
impl UnwindSafe for SequenceRingStats
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