pub enum Cell {
TableInterior {
child: u32,
rowid: i64,
},
TableLeaf {
rowid: i64,
payload: Vec<u8>,
},
IndexInterior {
child: u32,
payload: Vec<u8>,
},
IndexLeaf {
payload: Vec<u8>,
},
}Expand description
A cell with its payload assembled, overflow pages included.
Variants§
TableInterior
Child pointer plus the largest rowid in that subtree.
TableLeaf
A row: its rowid and the record that holds its columns.
IndexInterior
Child pointer plus the separator key that lives on this page.
IndexLeaf
An index entry: the indexed values and the rowid they point at.
Trait Implementations§
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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