pub struct WriteBatch { /* private fields */ }Expand description
A WriteBatch allows to bundle multiple updates together for higher throughput
Note: The batch will not be applied to the database until it is passed to Database::write
Implementations§
Trait Implementations§
Source§impl Debug for WriteBatch
impl Debug for WriteBatch
Auto Trait Implementations§
impl Freeze for WriteBatch
impl RefUnwindSafe for WriteBatch
impl Send for WriteBatch
impl Sync for WriteBatch
impl Unpin for WriteBatch
impl UnwindSafe for WriteBatch
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