pub struct FlushStats {
pub rows_flushed: usize,
pub bytes_sent: usize,
pub duration: Duration,
pub batch_age: Duration,
}Expand description
Statistics from a flush operation
Fields§
§rows_flushed: usizeNumber of rows flushed
bytes_sent: usizeBytes sent
duration: DurationTime taken for flush
batch_age: DurationAge of the batch (time from first row)
Trait Implementations§
Source§impl Clone for FlushStats
impl Clone for FlushStats
Source§fn clone(&self) -> FlushStats
fn clone(&self) -> FlushStats
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 moreAuto Trait Implementations§
impl Freeze for FlushStats
impl RefUnwindSafe for FlushStats
impl Send for FlushStats
impl Sync for FlushStats
impl Unpin for FlushStats
impl UnsafeUnpin for FlushStats
impl UnwindSafe for FlushStats
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