Expand description
Operation progress bar for determinate operations.
OperationProgress displays a progress bar with completion percentage,
throughput rate, and estimated time remaining.
§Example
use sqlmodel_console::renderables::OperationProgress;
let progress = OperationProgress::new("Inserting rows", 1000)
.completed(420);
// Plain text: "Inserting rows: 42% (420/1000)"
println!("{}", progress.render_plain());Structs§
- Operation
Progress - A progress bar for operations with known total count.
Enums§
- Progress
State - Progress state for styling.