pub struct BatchProcessingMetrics {
pub max_batch_size: u32,
pub avg_batch_size: f64,
pub total_batches: u64,
pub total_messages: u64,
pub avg_batch_processing_time_nanoseconds: u64,
pub max_batch_processing_time_nanoseconds: u64,
}Expand description
Batch processing metrics
Fields§
§max_batch_size: u32Maximum number of messages processed in a single batch
avg_batch_size: f64Average number of messages processed in a batch
total_batches: u64Total number of batches processed
total_messages: u64Total number of messages processed
avg_batch_processing_time_nanoseconds: u64Average processing time per batch in nanoseconds
max_batch_processing_time_nanoseconds: u64Maximum processing time for a batch in nanoseconds
Trait Implementations§
Source§impl Clone for BatchProcessingMetrics
impl Clone for BatchProcessingMetrics
Source§fn clone(&self) -> BatchProcessingMetrics
fn clone(&self) -> BatchProcessingMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchProcessingMetrics
impl Debug for BatchProcessingMetrics
Source§impl Default for BatchProcessingMetrics
impl Default for BatchProcessingMetrics
Source§fn default() -> BatchProcessingMetrics
fn default() -> BatchProcessingMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchProcessingMetrics
impl RefUnwindSafe for BatchProcessingMetrics
impl Send for BatchProcessingMetrics
impl Sync for BatchProcessingMetrics
impl Unpin for BatchProcessingMetrics
impl UnwindSafe for BatchProcessingMetrics
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