Module gix_features::progress
source · Available on crate feature
progress only.Expand description
Various prodash types along with various utilities for comfort.
Re-exports
Modules
Structs
- An opaque type for storing
DynNestedProgress. - An implementation of
NestedProgresswhich discards all calls. - An implementation of
Progresswhich can be created easily fromOption<impl Progress>. - A bridge type that implements
NestedProgressfor any type that implementsDynNestedProgress. - A structure passing every
readcall through to the contained Progress instance usinginc_by(bytes_read). - The value associated with a spot in the hierarchy.
- Emit a message with throughput information when the instance is dropped.
- A configurable and flexible unit for use in Progress::init().
- Progress associated with some item in the progress tree.
- A structure passing every
writecall through to the contained Progress instance usinginc_by(bytes_written).
Enums
- An implementation of
NestedProgressshowing either one or the other implementation. - The severity of a message
Constants
- The default Id to use if there is no need for an id.
Traits
- A thread-safe read-only counter, with unknown limits.
- An object-safe trait for describing hierarchical progress.
- A trait for describing hierarchical progress.
- A trait for describing non-hierarchical progress.
Functions
- bytes
progress-unit-bytesA unit for displaying bytes with throughput and progress percentage. - A unit for displaying human readable numbers with throughput and progress percentage, and a single decimal place.
- count_with_decimals
progress-unit-human-numbersA unit for displaying human readable numbers withnamesuffix, with throughput and progress percentage, anddecimalsdecimal places. - A predefined unit for displaying a multi-step progress
Type Aliases
- The amount of steps a progress can make, for threadsafe counting.
- Four bytes of function-local unique and stable identifier for each item added as progress, like b“TREE“ or b“FILE“.
- The amount of steps a progress can make
- As step, but shareable.