Expand description
FathomDB facade crate — re-exports the public Rust surface of fathomdb-engine.
The default (operator-feature-OFF) surface is the governed application
surface (dev/interfaces/rust.md § Governed-surface contract): it is
recovery-name-free and raw-SQL-free at the method level. The
operator/recovery seam (rebuild_*, excise_source, dump_*,
trace_source_ref, truncate_wal, verify_embedder, check_integrity,
safe_export, recompute_mean + their report types) is gated behind the
operator cargo feature, which fathomdb-cli enables. Gating, not deletion:
engine behavior is identical with the feature on. See AC-074
(dev/acceptance.md) + dev/design/slice-27-fix1-operator-gate-design.md.
Structs§
- Corruption
Detail - Stable corruption-on-open detail carried by
EngineOpenError::Corruption. - Counter
Snapshot - Snapshot of engine-internal counters returned by
Engine::counters. - Engine
- Open
Report - Opened
Engine - Recovery
Hint - Recovery dispatch surface attached to a corruption detail.
- Search
Result - Hybrid
searchresult.resultscarries structuredSearchHits in vector-first, dedup-on-body order. DerivesClone, Debug, PartialEqbut notEq— each hit carries ascore: f64. - Soft
Fallback - Soft-fallback signal carried on hybrid
searchresults. - Subscription
- Handle returned by
Engine::subscribe. - Write
Receipt
Enums§
- Corruption
Kind - Open-path corruption category.
- Corruption
Locator - Locator pointing at the corrupted region of the database file.
- Engine
Error - Engine
Open Error - Open
Stage Engine.openstage at which corruption was detected.- Prepared
Write - Batch input shape for
Engine::write. - Soft
Fallback Branch - Which retrieval branch could not contribute to a hybrid search.