Struct jj_lib::stacked_table::TableStore
source · pub struct TableStore { /* private fields */ }
Implementations§
source§impl TableStore
impl TableStore
pub fn init(dir: PathBuf, key_size: usize) -> Self
pub fn reinit(&self)
pub fn key_size(&self) -> usize
pub fn load(dir: PathBuf, key_size: usize) -> Self
pub fn save_table( &self, mut_table: MutableTable ) -> TableStoreResult<Arc<ReadonlyTable>>
pub fn get_head(&self) -> TableStoreResult<Arc<ReadonlyTable>>
pub fn get_head_locked( &self ) -> TableStoreResult<(Arc<ReadonlyTable>, FileLock)>
Auto Trait Implementations§
impl RefUnwindSafe for TableStore
impl Send for TableStore
impl Sync for TableStore
impl Unpin for TableStore
impl UnwindSafe for TableStore
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