Skip to main content

Module data_class

Module data_class 

Source
Expand description

RFC-001 data lifecycle classification.

Every piece of application-managed data belongs to exactly one DataClass. Cleanup operations must be expressed as a CleanupPlan before execution (RFC-001 §14: “No cleanup operation should run without first producing a CleanupPlan”). Ordinary (safe) cleanup must never touch DataClass::PersistentCatalog.

Structs§

CleanupPlan
A cleanup plan: produced first, executed second (RFC-001 §14).

Enums§

CleanupAction
Cleanup actions exposed by the Storage view (RFC-001 §9, RFC-011).
DataClass
The five lifecycle classes of RFC-001 §14.
StorageCategory
Storage accounting categories (RFC-001 §10, RFC-002 §7.12).
StorageMeasurement
One category’s measured storage (RFC-011 §11, Task 081). Never a zero standing in for “not measured”: a category orbok cannot measure exactly is Self::Unknown, rendered as such, and left out of any total – the false-zero the Storage page showed before this measured every namespace’s usage() had no caller (Review Request 257 §3).