pub struct BatchingStats {
pub batches_executed: usize,
pub total_ops_batched: usize,
pub avg_batch_size: f64,
pub single_ops_executed: usize,
}Expand description
Statistics about batching performance
Fields§
§batches_executed: usizeNumber of batches executed
total_ops_batched: usizeTotal operations batched
avg_batch_size: f64Average batch size
single_ops_executed: usizeNumber of single operations executed (not batched)
Implementations§
Source§impl BatchingStats
impl BatchingStats
Trait Implementations§
Source§impl Clone for BatchingStats
impl Clone for BatchingStats
Source§fn clone(&self) -> BatchingStats
fn clone(&self) -> BatchingStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchingStats
impl Debug for BatchingStats
Auto Trait Implementations§
impl Freeze for BatchingStats
impl RefUnwindSafe for BatchingStats
impl Send for BatchingStats
impl Sync for BatchingStats
impl Unpin for BatchingStats
impl UnsafeUnpin for BatchingStats
impl UnwindSafe for BatchingStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more