pub struct BatchStats {
pub batches_processed: u64,
pub requests_processed: u64,
pub avg_batch_size: f64,
pub total_batch_time: Duration,
pub avg_batch_time: Duration,
pub http2_connections: u64,
}
Expand description
Statistics for batch operations
Fields§
§batches_processed: u64
Total number of batches processed
requests_processed: u64
Total number of requests processed
avg_batch_size: f64
Average batch size
total_batch_time: Duration
Total time spent in batch processing
avg_batch_time: Duration
Average time per batch
http2_connections: u64
HTTP/2 connections established
Trait Implementations§
Source§impl Clone for BatchStats
impl Clone for BatchStats
Source§fn clone(&self) -> BatchStats
fn clone(&self) -> BatchStats
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 BatchStats
impl RefUnwindSafe for BatchStats
impl Send for BatchStats
impl Sync for BatchStats
impl Unpin for BatchStats
impl UnwindSafe for BatchStats
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