Module progress

Module progress 

Source
Expand description

Progress bars, spinners, and status indicators.

This module provides:

  • Progress bars with percentage, speed, ETA
  • Spinners for indeterminate progress
  • Status context for showing work in progress
  • track() helper for iterating with progress

Structs§

BarColumn
Renders the progress bar.
ElapsedColumn
MofNColumn
PercentageColumn
Renders the percentage complete (e.g. “50%”).
Progress
Multi-task progress display.
ProgressBar
A single progress bar configuration (Deprecated/Legacy support wrapper or helper). Kept for backward compat if anyone used it directly, but mainly used by BarColumn now.
Spinner
A spinner for indeterminate progress.
SpinnerColumn
Renders the spinner
Status
A status indicator that shows a spinner while work is happening.
Task
A task being tracked by the progress bar.
TextColumn
Renders a static text string or text based on task properties.
TimeRemainingColumn
Renders time remaining
TransferSpeedColumn
Renders transfer speed

Enums§

SpinnerStyle
Spinner animation style.

Traits§

ProgressColumn
A trait for rendering a column in a progress bar.

Functions§

track
Wrap an iterator with progress display.
with_status
Convenience function to run work with a status spinner.