pub struct DataPagesManager { /* private fields */ }
Implementations§
Source§impl DataPagesManager
impl DataPagesManager
pub fn new<P: AsRef<Path>>(path: P) -> Result<Self, Error>
pub fn set_max_datapages(&mut self, val: usize)
pub fn get_max_datapages(&self) -> usize
pub fn get_last_datapage( &self, ) -> Result<(usize, Arc<MmapCell<DataPage>>), Error>
pub fn get_or_create_datapage( &self, num: usize, ) -> Result<(usize, Arc<MmapCell<DataPage>>), Error>
Trait Implementations§
Source§impl Clone for DataPagesManager
impl Clone for DataPagesManager
Source§fn clone(&self) -> DataPagesManager
fn clone(&self) -> DataPagesManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DataPagesManager
impl !RefUnwindSafe for DataPagesManager
impl Send for DataPagesManager
impl Sync for DataPagesManager
impl Unpin for DataPagesManager
impl !UnwindSafe for DataPagesManager
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