pub struct StreamStats {
pub items_buffered: usize,
pub estimated_memory: usize,
pub total_rows_yielded: u64,
pub total_rows_filtered: u64,
}Expand description
Stream statistics snapshot
Provides a read-only view of current stream state without consuming items. All values are point-in-time measurements.
Fields§
§items_buffered: usizeNumber of items currently buffered in channel (0-256)
estimated_memory: usizeEstimated memory used by buffered items in bytes
total_rows_yielded: u64Total rows yielded to consumer so far
total_rows_filtered: u64Total rows filtered out by Rust predicates
Implementations§
Source§impl StreamStats
impl StreamStats
Trait Implementations§
Source§impl Clone for StreamStats
impl Clone for StreamStats
Source§fn clone(&self) -> StreamStats
fn clone(&self) -> StreamStats
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 StreamStats
impl RefUnwindSafe for StreamStats
impl Send for StreamStats
impl Sync for StreamStats
impl Unpin for StreamStats
impl UnsafeUnpin for StreamStats
impl UnwindSafe for StreamStats
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