pub struct StreamProgress {
pub items_generated: u64,
pub items_per_second: f64,
pub elapsed_ms: u64,
pub phase: String,
pub memory_usage_mb: Option<u64>,
pub buffer_fill_ratio: Option<f64>,
pub items_remaining: Option<u64>,
}Expand description
Progress information during streaming.
Fields§
§items_generated: u64Total items generated so far.
items_per_second: f64Generation rate (items per second).
elapsed_ms: u64Elapsed time in milliseconds.
phase: StringCurrent phase/stage name.
memory_usage_mb: Option<u64>Memory usage in MB (if available).
buffer_fill_ratio: Option<f64>Buffer fill level (0.0 to 1.0).
items_remaining: Option<u64>Estimated items remaining.
Implementations§
Trait Implementations§
Source§impl Clone for StreamProgress
impl Clone for StreamProgress
Source§fn clone(&self) -> StreamProgress
fn clone(&self) -> StreamProgress
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 StreamProgress
impl Debug for StreamProgress
Source§impl<'de> Deserialize<'de> for StreamProgress
impl<'de> Deserialize<'de> for StreamProgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StreamProgress
impl RefUnwindSafe for StreamProgress
impl Send for StreamProgress
impl Sync for StreamProgress
impl Unpin for StreamProgress
impl UnwindSafe for StreamProgress
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