pub struct SharedDbState {
pub catalog: Catalog,
pub latest: HashMap<(u32, Vec<u8>), BTreeMap<String, RowValue>>,
pub indexes: IndexState,
pub segment_start: u64,
pub format_minor: u16,
pub generation: u64,
}Expand description
Live in-memory snapshot mirrored by the writable handle.
Fields§
§catalog: Catalog§latest: HashMap<(u32, Vec<u8>), BTreeMap<String, RowValue>>§indexes: IndexState§segment_start: u64§format_minor: u16§generation: u64Monotonic generation bumped on each mirror push (attached readers detect staleness).
Trait Implementations§
Source§fn clone(&self) -> SharedDbState
fn clone(&self) -> SharedDbState
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 moreAuto Trait Implementations§
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