Struct dittolive_ditto::store::batch::ScopedStore
source · [−]pub struct ScopedStore<'batch> { /* private fields */ }
Implementations
sourceimpl<'batch> ScopedStore<'batch>
impl<'batch> ScopedStore<'batch>
pub fn commit_changes(self: ScopedStore<'batch>) -> Action<'batch>
pub fn revert_changes(self: ScopedStore<'batch>) -> Action<'batch>
pub fn collection<'coll>(
self: &'coll mut ScopedStore<'batch>,
collection_name: &str
) -> ScopedCollection<'coll, 'batch>
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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