pub struct ZerocopyWriterStats {
pub records_written: u64,
pub bytes_written: u64,
pub bytes_original: u64,
pub compression_ratio: f64,
pub avg_latency_nanos: u64,
pub buffer_reuse_count: u64,
pub zero_copy_operations: u64,
pub simd_operations: u64,
}Expand description
Zero-copy optimized file writer statistics
Fields§
§records_written: u64Total number of records written
bytes_written: u64Total bytes written to disk (after compression if enabled)
bytes_original: u64Total bytes before compression
compression_ratio: f64Compression ratio (1.0 = no compression, higher = better compression)
avg_latency_nanos: u64Average write latency in nanoseconds
buffer_reuse_count: u64Number of times buffers were reused (performance metric)
zero_copy_operations: u64Number of zero-copy operations performed
simd_operations: u64Number of SIMD operations performed
Trait Implementations§
Source§impl Clone for ZerocopyWriterStats
impl Clone for ZerocopyWriterStats
Source§fn clone(&self) -> ZerocopyWriterStats
fn clone(&self) -> ZerocopyWriterStats
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 ZerocopyWriterStats
impl Debug for ZerocopyWriterStats
Source§impl Default for ZerocopyWriterStats
impl Default for ZerocopyWriterStats
Source§fn default() -> ZerocopyWriterStats
fn default() -> ZerocopyWriterStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ZerocopyWriterStats
impl RefUnwindSafe for ZerocopyWriterStats
impl Send for ZerocopyWriterStats
impl Sync for ZerocopyWriterStats
impl Unpin for ZerocopyWriterStats
impl UnwindSafe for ZerocopyWriterStats
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