Struct rustdb::pstore::SharedPagedData [−][src]
pub struct SharedPagedData {
pub stash: RwLock<Stash>,
pub file: RwLock<CompactFile>,
pub sp_size: usize,
pub ep_size: usize,
}
Expand description
Allows logical database pages to be shared to allow concurrent readers.
Fields
stash: RwLock<Stash>
file: RwLock<CompactFile>
sp_size: usize
ep_size: usize
Implementations
Construct SharedPageData based on specified underlying storage.
Access to a virtual read-only copy of the database logical pages.
Write access to the database logical pages.