Struct jujutsu_lib::stacked_table::TableStore
source · [−]pub struct TableStore { /* private fields */ }Implementations
sourceimpl 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) -> Result<Arc<ReadonlyTable>>
pub fn get_head(&self) -> Result<Arc<ReadonlyTable>>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more