pub struct SledDatastore { /* private fields */ }Expand description
A datastore that is backed by Sled.
Implementations§
Source§impl<'ds> SledDatastore
impl<'ds> SledDatastore
Trait Implementations§
Source§impl Datastore for SledDatastore
impl Datastore for SledDatastore
type Trans = SledTransaction
Source§fn sync(&self) -> Result<()>
fn sync(&self) -> Result<()>
Syncs persisted content. Depending on the datastore implementation,
this has different meanings - including potentially being a no-op.
Source§fn transaction(&self) -> Result<Self::Trans>
fn transaction(&self) -> Result<Self::Trans>
Creates a new transaction.
Source§fn bulk_insert<I>(&self, items: I) -> Result<()>where
I: Iterator<Item = BulkInsertItem>,
fn bulk_insert<I>(&self, items: I) -> Result<()>where
I: Iterator<Item = BulkInsertItem>,
Bulk inserts many vertices, edges, and/or properties. Read more
Auto Trait Implementations§
impl Freeze for SledDatastore
impl !RefUnwindSafe for SledDatastore
impl Send for SledDatastore
impl Sync for SledDatastore
impl Unpin for SledDatastore
impl !UnwindSafe for SledDatastore
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