pub struct StorageInfo {
pub audit_bytes: u64,
pub redb_bytes: u64,
pub blobs_bytes: u64,
pub blobs_gc: Option<BlobsGcInfo>,
}Expand description
The status.storage block (#88): bytes actually on disk, by subsystem. Counts, never
content. Additive-only.
Default is all zeros, which reads as “measured, and found empty” (#148). It is here so a
fixture can build one field and elide the rest; it is not a way to say “unmeasured”. For that,
leave StatusResult.storage as None — a defaulted StatusResult does exactly that.
Fields§
§audit_bytes: u64Summed sizes of the monthly audit files (<state>/audit/*.jsonl).
redb_bytes: u64Size of the peer/trust state store (state.redb).
blobs_bytes: u64Total size under the app-blob store directory; 0 when no blob store exists.
blobs_gc: Option<BlobsGcInfo>Blob garbage collection (#80), or None when it is not configured — which is the default
and the behavior of every release up to 0.42.0.
None means “not collecting”, NOT “collecting and idle”: a configured collector reports
Some with runs: 0 until its first sweep.
Trait Implementations§
Source§impl Clone for StorageInfo
impl Clone for StorageInfo
Source§fn clone(&self) -> StorageInfo
fn clone(&self) -> StorageInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more