Struct dittolive_ditto::store::batch::ScopedStore
source · [−]pub struct ScopedStore<'batch> { /* private fields */ }
Implementations
sourceimpl<'batch> ScopedStore<'batch>
impl<'batch> ScopedStore<'batch>
sourcepub fn commit_changes(self: ScopedStore<'batch>) -> Action<'batch>
pub fn commit_changes(self: ScopedStore<'batch>) -> Action<'batch>
Commit changes done in this ScopedStore.
sourcepub fn revert_changes(self: ScopedStore<'batch>) -> Action<'batch>
pub fn revert_changes(self: ScopedStore<'batch>) -> Action<'batch>
Revert changes done in this ScopedStore.
sourcepub fn collection<'coll>(
self: &'coll mut ScopedStore<'batch>,
collection_name: &str
) -> ScopedCollection<'coll, 'batch>
pub fn collection<'coll>(
self: &'coll mut ScopedStore<'batch>,
collection_name: &str
) -> ScopedCollection<'coll, 'batch>
Return an handle to change a single Collection
.
Auto Trait Implementations
impl<'batch> RefUnwindSafe for ScopedStore<'batch>
impl<'batch> !Send for ScopedStore<'batch>
impl<'batch> !Sync for ScopedStore<'batch>
impl<'batch> Unpin for ScopedStore<'batch>
impl<'batch> !UnwindSafe for ScopedStore<'batch>
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
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more