pub struct FileTermStore { /* private fields */ }Implementations§
Source§impl FileTermStore
impl FileTermStore
pub fn new(path: impl Into<PathBuf>) -> Self
pub fn with_default_term(path: impl Into<PathBuf>, default_term: u64) -> Self
pub fn load_file(&self) -> RdbFileResult<u64>
pub fn persist_file(&self, term: u64) -> RdbFileResult<()>
Auto Trait Implementations§
impl Freeze for FileTermStore
impl RefUnwindSafe for FileTermStore
impl Send for FileTermStore
impl Sync for FileTermStore
impl Unpin for FileTermStore
impl UnsafeUnpin for FileTermStore
impl UnwindSafe for FileTermStore
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