pub struct AccountReport {
pub roots: Vec<RootAccount>,
pub standalone_bytes: u64,
pub unique_reachable_bytes: u64,
pub amortized_bytes: u64,
pub unique_objects: u64,
pub unique_object_bytes: u64,
pub dangling: Vec<Id>,
}Expand description
Cohort accounting across the three frozen universes.
Fields§
§roots: Vec<RootAccount>Per-root figures, in cohort order.
standalone_bytes: u64S: the standalone universe (whole-file, comparable to per-file LZ).
unique_reachable_bytes: u64U: the unique-reachable universe (roots + each unique object once).
amortized_bytes: u64A: the amortized cohort universe. Equals unique_reachable_bytes.
unique_objects: u64|O|: number of unique reachable objects.
unique_object_bytes: u64Σ_{o ∈ O} len(o): raw bytes of the unique reachable objects.
dangling: Vec<Id>Reachable ids the store does not contain. A valid closure has none; a
non-empty list is a live crate::ErrorClass::MissingExternalObject and
account fails closed rather than reporting a universe it cannot prove.
Trait Implementations§
Source§impl Clone for AccountReport
impl Clone for AccountReport
Source§impl Debug for AccountReport
impl Debug for AccountReport
impl Eq for AccountReport
Source§impl PartialEq for AccountReport
impl PartialEq for AccountReport
impl StructuralPartialEq for AccountReport
Auto Trait Implementations§
impl Freeze for AccountReport
impl RefUnwindSafe for AccountReport
impl Send for AccountReport
impl Sync for AccountReport
impl Unpin for AccountReport
impl UnsafeUnpin for AccountReport
impl UnwindSafe for AccountReport
Blanket Implementations§
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