Enum async_memorydb::DBOp
source · pub enum DBOp {
Insert {
key: SmolStr,
value: Bytes,
},
InsertMany {
data: HashMap<SmolStr, Bytes, RandomState>,
},
Delete {
key: SmolStr,
},
DeleteAll,
DeletePrefix {
prefix: SmolStr,
},
}
Variants§
Insert
InsertMany
Fields
§
data: HashMap<SmolStr, Bytes, RandomState>
Delete
Fields
§
key: SmolStr
DeleteAll
DeletePrefix
Fields
§
prefix: SmolStr
Auto Trait Implementations§
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