Get the byte-progress bar style. Format: `⠋ [████████░░░░░░░░] 1.5 MB/3.0 MB Message (50%)`
()
| 330 | /// |
| 331 | /// Format: `⠋ [████████░░░░░░░░] 1.5 MB/3.0 MB Message (50%)` |
| 332 | fn byte_progress_style() -> ProgressStyle { |
| 333 | ProgressStyle::with_template( |
| 334 | "{spinner:.cyan} [{bar:30.cyan/dim}] {bytes}/{total_bytes} {msg} ({percent}%)", |
| 335 | ) |
| 336 | .expect("Invalid byte progress template") |
| 337 | .tick_chars(SPINNER_CHARS) |
| 338 | .progress_chars("█▓░") |
| 339 | } |
| 340 | |
| 341 | /// Get the warning completion style. |
| 342 | /// |
no outgoing calls