pub struct BatchWriter<H>where
H: WithHandle,{ /* private fields */ }
Expand description
Manages uncommitted writes
Implementations§
Source§impl<H> BatchWriter<H>where
H: WithHandle,
impl<H> BatchWriter<H>where
H: WithHandle,
Source§impl<H> BatchWriter<H>where
H: WithHandle,
impl<H> BatchWriter<H>where
H: WithHandle,
pub fn stage_write(&mut self, key: Vec<u8>, value: ValueWriter) -> Result<()>
pub fn new_value(&mut self) -> BeginWriteValue<'_, H>
pub fn rename_value(&mut self, value: Value, key: Vec<u8>)
pub fn commit(self) -> Result<WriteCommitResult>
Trait Implementations§
Source§impl<H> Debug for BatchWriter<H>where
H: WithHandle + Debug,
impl<H> Debug for BatchWriter<H>where
H: WithHandle + Debug,
Auto Trait Implementations§
impl<H> Freeze for BatchWriter<H>where
H: Freeze,
impl<H> RefUnwindSafe for BatchWriter<H>where
H: RefUnwindSafe,
impl<H> Send for BatchWriter<H>where
H: Send,
impl<H> Sync for BatchWriter<H>where
H: Sync,
impl<H> Unpin for BatchWriter<H>where
H: Unpin,
impl<H> UnwindSafe for BatchWriter<H>where
H: 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