pub enum TransactionOp {
Put {
key: Vec<u8>,
value: Vec<u8>,
},
Delete {
key: Vec<u8>,
},
}Variants§
Trait Implementations§
Source§impl Clone for TransactionOp
impl Clone for TransactionOp
Source§fn clone(&self) -> TransactionOp
fn clone(&self) -> TransactionOp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransactionOp
impl RefUnwindSafe for TransactionOp
impl Send for TransactionOp
impl Sync for TransactionOp
impl Unpin for TransactionOp
impl UnwindSafe for TransactionOp
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