pub struct Action<'batch>(/* private fields */);Expand description
Use .commit_changes() or .revert_changes() in .with_batch_write(...).
An Action refers to the action to be taken at the end of a batched write (transaction).
A batch may end by being committed or reverted.
Auto Trait Implementations§
impl<'batch> Freeze for Action<'batch>
impl<'batch> RefUnwindSafe for Action<'batch>
impl<'batch> Send for Action<'batch>
impl<'batch> Sync for Action<'batch>
impl<'batch> Unpin for Action<'batch>
impl<'batch> !UnwindSafe for Action<'batch>
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