Skip to main content

count_bar

Function count_bar 

Source
pub fn count_bar(prefix: &str, total: u64) -> ProgressBar
Expand description

A progress bar over a known number of items (e.g. records to convert or render). Renders to stderr, and is a no-op when stderr isn’t a terminal (redirected to a file, piped, CI, etc.) so non-interactive output stays clean.