pub struct StreamingStats {
pub bytes_read: usize,
pub bytes_processed: usize,
pub events_emitted: usize,
pub chunks_processed: usize,
pub peak_memory_estimate: usize,
}Expand description
Statistics for streaming operations.
Fields§
§bytes_read: usizeTotal bytes read from source.
bytes_processed: usizeTotal bytes processed.
events_emitted: usizeNumber of events emitted.
chunks_processed: usizeNumber of chunks processed.
peak_memory_estimate: usizePeak memory usage estimate.
Trait Implementations§
Source§impl Clone for StreamingStats
impl Clone for StreamingStats
Source§fn clone(&self) -> StreamingStats
fn clone(&self) -> StreamingStats
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 moreSource§impl Debug for StreamingStats
impl Debug for StreamingStats
Source§impl Default for StreamingStats
impl Default for StreamingStats
Source§fn default() -> StreamingStats
fn default() -> StreamingStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for StreamingStats
impl PartialEq for StreamingStats
impl Copy for StreamingStats
impl Eq for StreamingStats
impl StructuralPartialEq for StreamingStats
Auto Trait Implementations§
impl Freeze for StreamingStats
impl RefUnwindSafe for StreamingStats
impl Send for StreamingStats
impl Sync for StreamingStats
impl Unpin for StreamingStats
impl UnsafeUnpin for StreamingStats
impl UnwindSafe for StreamingStats
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