pub struct FragmentRow {
pub page: u32,
pub offset: usize,
pub missing: usize,
pub confidence: f32,
pub surviving: Vec<(usize, Value)>,
}Expand description
One carved fragment (a Tier-2 partial row) to materialize as a row of the
rebuilt recovered_fragments table. A fragment has no rowid (it was clobbered)
and only a subset of its columns survived; each survivor is placed at its own
native column index, with every other column left NULL. The CLI maps its
CarvedFragment onto this; the writer owns the SQLite-format encoding.
Fields§
§page: u321-based source page the fragment was salvaged from (stored in _page).
offset: usizeByte offset of the failed cell’s anchor within that page (stored in
_offset).
missing: usizeNumber of the row’s columns that did NOT decode (stored in _missing).
confidence: f32Heuristic confidence (stored in _confidence).
surviving: Vec<(usize, Value)>(column_index, value) for each column that decoded cleanly. Each value is
stored natively at c{column_index}; columns not listed are NULL.
Trait Implementations§
Source§impl Clone for FragmentRow
impl Clone for FragmentRow
Source§fn clone(&self) -> FragmentRow
fn clone(&self) -> FragmentRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more