Struct rustdb::pstore::SharedPagedData
source · pub struct SharedPagedData {
pub file: RwLock<CompactFile>,
pub sp_size: usize,
pub ep_size: usize,
pub stash: Mutex<Stash>,
}
Expand description
Allows logical database pages to be shared to allow concurrent readers.
Fields§
§file: RwLock<CompactFile>
Underlying file.
sp_size: usize
Starter page size.
ep_size: usize
Extension page size.
stash: Mutex<Stash>
Stash of pages.
Implementations§
Auto 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