pub struct ProcessingStats {
pub file_size_bytes: usize,
pub processing_time_ms: u64,
pub streaming_mode_used: bool,
pub memory_stats: MemoryStats,
pub throughput_mb_per_sec: f64,
pub objects_processed: usize,
}Expand description
Processing statistics for large files
Fields§
§file_size_bytes: usizeFile size in bytes
processing_time_ms: u64Processing time in milliseconds
streaming_mode_used: boolWhether streaming mode was used
memory_stats: MemoryStatsMemory statistics
throughput_mb_per_sec: f64Throughput in MB/s
objects_processed: usizeNumber of JSON objects processed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessingStats
impl RefUnwindSafe for ProcessingStats
impl Send for ProcessingStats
impl Sync for ProcessingStats
impl Unpin for ProcessingStats
impl UnwindSafe for ProcessingStats
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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