pub struct CostBreakdown {}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.
integrity: u64Integrity record payload.
trailer: u64Trailer record payload.