pub enum StorageOp {
Put {
key: Vec<u8>,
value: Vec<u8>,
},
Delete {
key: Vec<u8>,
},
}Expand description
A single storage operation (for batch writes).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StorageOp
impl RefUnwindSafe for StorageOp
impl Send for StorageOp
impl Sync for StorageOp
impl Unpin for StorageOp
impl UnsafeUnpin for StorageOp
impl UnwindSafe for StorageOp
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