pub struct StreamingProcessorStats {
pub max_memory_bytes: usize,
pub current_memory_bytes: usize,
pub memory_utilization_percent: usize,
pub records_processed: u64,
pub bytes_processed: u64,
}Expand description
Statistics about streaming processor operation
Snapshot of current memory usage and processing metrics.
Fields§
§max_memory_bytes: usizeMaximum memory limit (bytes)
current_memory_bytes: usizeCurrent memory usage (bytes)
Estimated total memory across tracked buffers.
memory_utilization_percent: usizeMemory utilization percentage
Current usage as percentage of max (0-100).
records_processed: u64Records processed
Total count of successfully processed records.
bytes_processed: u64Bytes processed
Total input byte volume processed.
Trait Implementations§
Source§impl Clone for StreamingProcessorStats
impl Clone for StreamingProcessorStats
Source§fn clone(&self) -> StreamingProcessorStats
fn clone(&self) -> StreamingProcessorStats
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 StreamingProcessorStats
impl RefUnwindSafe for StreamingProcessorStats
impl Send for StreamingProcessorStats
impl Sync for StreamingProcessorStats
impl Unpin for StreamingProcessorStats
impl UnsafeUnpin for StreamingProcessorStats
impl UnwindSafe for StreamingProcessorStats
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