pub struct FileStats {
    pub live_objects: u64,
    pub stored_objects: u64,
    pub dead_objects: u64,
}
Expand description

Statistics for file contents, to base decisions around calls to maintenance.

Fields

live_objects: u64

The number of live objects stored in the backing storage files.

stored_objects: u64

The total number of (potentially duplicated) objects stored in the backing storage files.

dead_objects: u64

The number of dead objects that have been replaced or removed in other storage files, contributing to fragmentation.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.