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 once, after first chunk).
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
Source§fn clone(&self) -> ProgressEvent
fn clone(&self) -> ProgressEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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