Struct pancake_engine_ssi::lsm::unit::unit_compacted::CompactedUnit
source · pub struct CompactedUnit {
pub prim: Option<SSTable<PKShared, OptDatum<PVShared>>>,
pub scnds: HashMap<ScndIdxNum, SSTable<SVPKShared, OptDatum<PVShared>>>,
pub dir: UnitDir,
}Fields§
§prim: Option<SSTable<PKShared, OptDatum<PVShared>>>§scnds: HashMap<ScndIdxNum, SSTable<SVPKShared, OptDatum<PVShared>>>§dir: UnitDirImplementations§
source§impl CompactedUnit
impl CompactedUnit
Note, this type does not offer any API to remove its dir.
Any logic that writes to a CompactedUnit should instantiate it lazily,
iff there are data to write.
Auto Trait Implementations§
impl RefUnwindSafe for CompactedUnit
impl Send for CompactedUnit
impl Sync for CompactedUnit
impl Unpin for CompactedUnit
impl UnwindSafe for CompactedUnit
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