pub struct BatchStats {
pub batches_processed: usize,
pub total_requests: usize,
pub avg_batch_size: f64,
pub timeout_batches: usize,
pub full_batches: usize,
}Expand description
Statistics about batch processing
Fields§
§batches_processed: usizeTotal number of batches processed
total_requests: usizeTotal number of individual requests processed
avg_batch_size: f64Average batch size
timeout_batches: usizeNumber of timeouts (batch sent due to max_wait_ms)
full_batches: usizeNumber of full batches (batch sent due to max_batch_size)
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 moreSource§impl Debug for BatchStats
impl Debug for BatchStats
Source§impl Default for BatchStats
impl Default for BatchStats
Source§fn default() -> BatchStats
fn default() -> BatchStats
Returns the “default value” for a type. Read more
Auto 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