pub enum ProgressEvent {
Started {
estimated_total_rows: Option<usize>,
estimated_total_bytes: Option<u64>,
},
ChunkProcessed {
rows_processed: usize,
bytes_consumed: u64,
elapsed: Duration,
processing_speed: f64,
percentage: Option<f64>,
},
SchemaDetected {
column_names: Vec<String>,
},
Finished {
total_rows: usize,
total_bytes: u64,
elapsed: Duration,
truncated: bool,
},
Warning {
message: String,
},
}Expand description
Structured progress events emitted by profiling engines.
Variants§
Started
Profiling has started. Emitted once before any data is processed.
ChunkProcessed
A chunk of rows has been processed.
Fields
SchemaDetected
Column schema has been detected: emitted after the first chunk, and again with the full list whenever a later column joins (an async JSON key first seen after the first chunk). Each list extends the last.
Finished
Profiling has finished (successfully or via early stop).
Warning
A non-fatal warning occurred during processing.
Trait Implementations§
Source§impl Clone for ProgressEvent
impl Clone for ProgressEvent
Auto Trait Implementations§
impl Freeze for ProgressEvent
impl RefUnwindSafe for ProgressEvent
impl Send for ProgressEvent
impl Sync for ProgressEvent
impl Unpin for ProgressEvent
impl UnsafeUnpin for ProgressEvent
impl UnwindSafe for ProgressEvent
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