pub struct WorkingStreamingStats {
pub bytes_processed: u64,
pub elements_yielded: usize,
pub current_depth: usize,
pub max_depth_reached: usize,
pub current_memory_bytes: usize,
pub max_memory_used_bytes: usize,
pub elapsed_time: Duration,
pub throughput_mb_per_sec: f64,
}
Expand description
Working streaming statistics
Fields§
§bytes_processed: u64
§elements_yielded: usize
§current_depth: usize
§max_depth_reached: usize
§current_memory_bytes: usize
§max_memory_used_bytes: usize
§elapsed_time: Duration
§throughput_mb_per_sec: f64
Implementations§
Source§impl WorkingStreamingStats
impl WorkingStreamingStats
Sourcepub fn is_memory_bounded(&self) -> bool
pub fn is_memory_bounded(&self) -> bool
Check if memory usage is within O(1) bounds (under 10MB)
Sourcepub fn memory_efficiency(&self) -> f64
pub fn memory_efficiency(&self) -> f64
Get memory efficiency (MB processed per MB memory used)
Trait Implementations§
Source§impl Clone for WorkingStreamingStats
impl Clone for WorkingStreamingStats
Source§fn clone(&self) -> WorkingStreamingStats
fn clone(&self) -> WorkingStreamingStats
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 moreAuto Trait Implementations§
impl Freeze for WorkingStreamingStats
impl RefUnwindSafe for WorkingStreamingStats
impl Send for WorkingStreamingStats
impl Sync for WorkingStreamingStats
impl Unpin for WorkingStreamingStats
impl UnwindSafe for WorkingStreamingStats
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