Expand description
§store-io-core
The vocabulary every store-io crate shares: identities (id), durability
classes and receipt labels (class), the error model (error) and the
classification of raw OS errors (errno), the evidence a platform reports
about a device (evidence), and the pure rules that turn evidence into a
durability class (decide) and an untorn-write unit (untorn).
Nothing here performs I/O or allocates on a hot path. Every decision rule is a pure function tested by a table, so the same decision can be reproduced from a printed device report.
Re-exports§
pub use class::DurabilityClass;pub use class::ReceiptLabel;pub use error::Error;pub use error::Result;pub use id::Generation;pub use id::RegionId;pub use id::VolumeId;
Modules§
- align
- Checked alignment arithmetic for offsets and lengths.
- class
- Durability classes, receipt labels, and the reason and missing-evidence vocabularies that explain them.
- decide
- The class decision: evidence in, durability class out.
- errno
- Classifying raw operating-system errors.
- error
- The error model.
- evidence
- Raw facts a platform backend reports about a path and its device.
- id
- Identities: which volume, which region, which generation.
- observe
- The observer: per-stage latency histograms and event counters (D-094).
- set
- A tiny allocation-free bit set over small enums, used for reason and missing-evidence sets that travel inside errors and reports.
- untorn
- The untorn unit: the largest aligned write the stack guarantees is never partially persisted after a power loss.