Expand description
Crate-level error type.
Every fallible operation in obj-core returns
Result<T, Error>. Error is intentionally small at
milestone M2; later milestones (WAL, B-tree, catalog) extend it with
more variants. The variants are non-exhaustive so additions do not
count as breaking changes for in-tree callers.
Power-of-ten Rule 7: every Result and Option is handled
explicitly. There are no .unwrap() or .expect() calls in this
crate’s production code paths.
Enums§
- Error
- The pager-level error type.
- Lock
Kind - Lock category for
Error::Busy. Three variants because the three categories of contention produce different operator guidance: a contended cross-processWRITER_LOCKmeans another process is writing; a contendedWriterInProcessmeans another thread of the same process is writing; a contended reader lock is unusual (31 slots, shared) and indicates either a saturated 31+-process workload or a stale lock left by a frozen process.
Type Aliases§
- Result
- Crate-local
Resultalias. Use this in new code unless an explicitstd::result::Resultis required for trait-impl reasons.