pub struct Snapshot {Show 15 fields
pub root: String,
pub active: bool,
pub resumed: bool,
pub pack_id: u64,
pub objects_total: u64,
pub objects_done: u64,
pub bytes_done: u64,
pub bytes_total: u64,
pub phase: Phase,
pub started_at_ms: u64,
pub reinflations: u64,
pub pauses: u64,
pub packs_done: u64,
pub peak_rss: u64,
pub mem_available: u64,
}Expand description
One reader’s copy of a counter.
Fields§
§root: String§active: bool§resumed: bool§pack_id: u64§objects_total: u64§objects_done: u64§bytes_done: u64§bytes_total: u64§phase: Phase§started_at_ms: u64§reinflations: u64§pauses: u64§packs_done: u64§peak_rss: u64Peak resident set of the whole process, sampled on the progress
tick. It rode only on index.finished until 2026-08-30, which meant it
was unobservable in exactly the failure it was built for: lane P2’s two
rig boxes never finished a pack, so the one number that would have said
how close to the ceiling they were was never printed. 0 = not sampled
yet.
mem_available: u64MemAvailable at the same tick. The pair is what says “is it coming
back” without waiting for a row that may never come.
Implementations§
Trait Implementations§
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.