Expand description
Progress of a long startup phase, readable while it runs.
Whatever is doing the work names the phase it is in and counts items through it; a ticker elsewhere decides how often to report. Nothing here writes to a log or to the service manager.
Re-exportsยง
use std::sync::Mutex;๐use std::sync::MutexGuard;๐use std::sync::PoisonError;๐use std::sync::atomic::AtomicU64;๐use std::sync::atomic::Ordering;๐use std::time::Instant;๐use smallstr::SmallString;๐use crate::format_small_string;๐use crate::implement;๐use crate::utils::time::pretty;๐
Structsยง
- Phase ๐
- One phase, from the moment it is named until the next one replaces it.
- Progress
- A named unit of long-running work, reported while it runs.