pub enum DbOp {
Insert {
key: SmolStr,
value: Bytes,
},
InsertMany {
data: HashMap<SmolStr, Bytes>,
},
Delete {
key: SmolStr,
},
DeleteMany {
keys: Vec<SmolStr>,
},
DeleteAll,
}
Variants§
Auto Trait Implementations§
impl !Freeze for DbOp
impl RefUnwindSafe for DbOp
impl Send for DbOp
impl Sync for DbOp
impl Unpin for DbOp
impl UnwindSafe for DbOp
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