pub enum Mapper<'l> {
Heap {
write_cursor: (u64, usize),
mapper: Vec<Section<'l>>,
},
Disk,
}
Expand description
The mapper that holds all the writes to the layer and their location mapping in the database
Variants§
Heap
A read-write version of the mapper on the heap
Fields
Disk
A read-only version of the mapper on the disk
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'l> Freeze for Mapper<'l>
impl<'l> RefUnwindSafe for Mapper<'l>
impl<'l> Send for Mapper<'l>
impl<'l> Sync for Mapper<'l>
impl<'l> Unpin for Mapper<'l>
impl<'l> UnwindSafe for Mapper<'l>
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