pub struct Writebatch<K: Key> { /* private fields */ }
Implementations§
Source§impl<K: Key> Writebatch<K>
impl<K: Key> Writebatch<K>
Sourcepub fn new() -> Writebatch<K>
pub fn new() -> Writebatch<K>
Create a new writebatch
Sourcepub fn iterate<T: WritebatchIterator<K = K>>(
&mut self,
iterator: Box<T>,
) -> Box<T>
pub fn iterate<T: WritebatchIterator<K = K>>( &mut self, iterator: Box<T>, ) -> Box<T>
Iterate over the writebatch, returning the resulting iterator
Auto Trait Implementations§
impl<K> Freeze for Writebatch<K>
impl<K> RefUnwindSafe for Writebatch<K>where
K: RefUnwindSafe,
impl<K> !Send for Writebatch<K>
impl<K> !Sync for Writebatch<K>
impl<K> Unpin for Writebatch<K>where
K: Unpin,
impl<K> UnwindSafe for Writebatch<K>where
K: UnwindSafe,
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