pub struct CostBreakdown {Show 15 fields
pub header: u64,
pub universe: u64,
pub format: u64,
pub record_framing: u64,
pub objects: u64,
pub external_refs: u64,
pub graph: u64,
pub models: u64,
pub entropy_payload: u64,
pub residuals: u64,
pub index: u64,
pub directory: u64,
pub checkpoints: u64,
pub integrity: u64,
pub trailer: u64,
}Expand description
Physical byte attribution for a serialized descriptor.
These categories exist so that inspect can answer where the bytes went
when a mechanism wins or loses. They sum to the exact .voldoc length.
Fields§
§header: u64Fixed header bytes.
universe: u64Universe declaration record (payload + framing).
format: u64Format-descriptor record (payload + framing).
record_framing: u64Record framing overhead (tag/flags/length/crc) for all records.
objects: u64Object record payloads (raw byte objects).
external_refs: u64EXTERNAL_REF record payloads (Phase 9): 40 bytes per external object.
The record framing is charged to CostBreakdown::record_framing, as for
OBJECT records.
graph: u64Reconstruction-graph record payload.
models: u64Entropy model records (0 in the exact core).
entropy_payload: u64Entropy channel payloads (0 in the exact core).
residuals: u64Typed residual records (0 in the exact core).
index: u64Index/checkpoint records.
directory: u64Optional seek-directory record (payload + framing). Zero when absent.
checkpoints: u64Optional checkpoint record (payload + framing). Zero when absent.
integrity: u64Integrity record payload.
trailer: u64Trailer record payload.