Expand description
A helper for formatting numbers in a format easily read by humans in renderers, as in 2.54 million objects
Fields
name: &'static strThe name of the represented unit, like ‘items’ or ‘objects’.
formatter: FormatterThe formatter to format the actual numbers.
Implementations
Trait Implementations
Display the absolute value representing the current progress of an operation and write it to w. Read more
Emit the upper_bound to w. Read more
Emit the unit of value to w. Read more
Emit a token to separate two values. Read more
Emit percentage to w.
fn display_throughput(
&self,
w: &mut dyn Write,
throughput: &Throughput
) -> Result<(), Error>
fn display_throughput(
&self,
w: &mut dyn Write,
throughput: &Throughput
) -> Result<(), Error>
Emit the throughput of an operation to w.