Create a hidden (non-visual) progress bar for tracking without display. Useful for operations where you want to track progress programmatically but don't want visual output (e.g., in non-interactive contexts). # Arguments `total` - The total number of units to track # Returns A [`ProgressBar`] that tracks position but produces no output.
(total: u64)
| 157 | /// |
| 158 | /// A [`ProgressBar`] that tracks position but produces no output. |
| 159 | pub fn create_hidden_progress(total: u64) -> ProgressBar { |
| 160 | let pb = ProgressBar::hidden(); |
| 161 | pb.set_length(total); |
| 162 | pb |
| 163 | } |
| 164 | |
| 165 | // Multi-Progress Support |
| 166 |
no outgoing calls