Struct indradb::MemoryDatastore
source · pub struct MemoryDatastore(_);
Expand description
An in-memory-only datastore.
Implementations
sourceimpl MemoryDatastore
impl MemoryDatastore
sourcepub fn default() -> MemoryDatastore
pub fn default() -> MemoryDatastore
Creates a new in-memory datastore.
Trait Implementations
sourceimpl Datastore for MemoryDatastore
impl Datastore for MemoryDatastore
type Trans = MemoryTransaction
sourcefn transaction(&self) -> Result<Self::Trans>
fn transaction(&self) -> Result<Self::Trans>
Creates a new transaction.
sourcefn 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 RefUnwindSafe for MemoryDatastore
impl Send for MemoryDatastore
impl Sync for MemoryDatastore
impl Unpin for MemoryDatastore
impl UnwindSafe for MemoryDatastore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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