pub enum Write {
Put(Key, Value),
Delete(Key),
}Expand description
A write in a Batch.
Variants§
Put(Key, Value)
Set the key’s value.
Delete(Key)
Remove the key; removing an absent key is not an error.
Trait Implementations§
impl Eq for Write
impl StructuralPartialEq for Write
Auto Trait Implementations§
impl !Freeze for Write
impl RefUnwindSafe for Write
impl Send for Write
impl Sync for Write
impl Unpin for Write
impl UnsafeUnpin for Write
impl UnwindSafe for Write
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