pub struct Store { /* private fields */ }
Implementations§
Source§impl Store
impl Store
Sourcepub fn init<S: AsRef<str>>(path: PathBuf, name: S) -> Store
pub fn init<S: AsRef<str>>(path: PathBuf, name: S) -> Store
Initializes the store. Creates if the store is not present or if the store is present then uses it.
Auto Trait Implementations§
impl Freeze for Store
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnwindSafe for Store
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