pub struct LoadedState {
pub data: BTreeMap<Vec<u8>, Vec<u8>>,
pub created: BTreeMap<Vec<u8>, u64>,
pub history: BTreeMap<Vec<u8>, Vec<VersionEntry>>,
pub gc_watermark: u64,
}Expand description
Backend-loaded state used to bootstrap a store.
Fields§
§data: BTreeMap<Vec<u8>, Vec<u8>>Current key/value data.
created: BTreeMap<Vec<u8>, u64>Creation commit index per live key.
history: BTreeMap<Vec<u8>, Vec<VersionEntry>>Retained superseded versions per key.
gc_watermark: u64Durable GC floor.
Trait Implementations§
Source§impl Debug for LoadedState
impl Debug for LoadedState
Auto Trait Implementations§
impl Freeze for LoadedState
impl RefUnwindSafe for LoadedState
impl Send for LoadedState
impl Sync for LoadedState
impl Unpin for LoadedState
impl UnsafeUnpin for LoadedState
impl UnwindSafe for LoadedState
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