pub struct CarvedCell {
pub offset: usize,
pub byte_len: usize,
pub rowid: i64,
pub values: Vec<Value>,
pub confidence: f32,
}Expand description
A record-shaped cell recovered from unallocated / free space by
Database::carve_cells. Carries the decoded row plus enough provenance for
the analyzer to grade it as a “consistent with a deleted row” observation.
Fields§
§offset: usizeByte offset of the cell within the page slice that was scanned.
byte_len: usizeTotal bytes the candidate cell occupies (cell header + payload), so the scanner can skip past a recovered record.
rowid: i64Decoded rowid varint.
values: Vec<Value>Decoded column values, in column order.
confidence: f32Heuristic confidence in (0.0, 1.0] that these bytes are a real record
rather than a coincidental match.
Trait Implementations§
Source§impl Clone for CarvedCell
impl Clone for CarvedCell
Source§fn clone(&self) -> CarvedCell
fn clone(&self) -> CarvedCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CarvedCell
impl Debug for CarvedCell
Source§impl PartialEq for CarvedCell
impl PartialEq for CarvedCell
impl StructuralPartialEq for CarvedCell
Auto Trait Implementations§
impl Freeze for CarvedCell
impl RefUnwindSafe for CarvedCell
impl Send for CarvedCell
impl Sync for CarvedCell
impl Unpin for CarvedCell
impl UnsafeUnpin for CarvedCell
impl UnwindSafe for CarvedCell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more