Skip to main content

Module progress

Module progress 

Source
Expand description

Progress of a sweep or search, reported to the host as events.

The library never prints. A host renders the events as it likes, such as a line on a terminal, JSON lines or a panel.

Structs§

NoProgress
Progress that reports nowhere.
ProgressMeter
Counter of finished runs that yields an update at most once per PROGRESS_INTERVAL.
ProgressUpdate
Runs finished so far, and the time left at the pace so far.

Enums§

ProgressEvent
Event in the progress of a sweep.

Constants§

PROGRESS_INTERVAL
Shortest time between two ProgressEvent::Progressed events.

Traits§

Progress
Receiver of a sweep’s progress.