pub enum StoreOperation {
Transaction {
updates: Vec<StoreUpdate<Vec<u8>>>,
},
Clear {
min_key: usize,
},
Prepare {
length: usize,
},
}Expand description
Mutable operations on a store.
Variants§
Transaction
Applies a transaction.
Fields
§
updates: Vec<StoreUpdate<Vec<u8>>>The list of updates to be applied.
Clear
Deletes all keys above a threshold.
Prepare
Compacts the store until a given capacity is immediately available.
Trait Implementations§
Source§impl Clone for StoreOperation
impl Clone for StoreOperation
Source§fn clone(&self) -> StoreOperation
fn clone(&self) -> StoreOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoreOperation
impl RefUnwindSafe for StoreOperation
impl Send for StoreOperation
impl Sync for StoreOperation
impl Unpin for StoreOperation
impl UnsafeUnpin for StoreOperation
impl UnwindSafe for StoreOperation
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