pub trait SingleVersionRemove: SingleVersionCommit {
// Provided methods
fn unset(&mut self, key: &EncodedKey, values: EncodedValues) -> Result<()> { ... }
fn remove(&mut self, key: &EncodedKey) -> Result<()> { ... }
}Expand description
Trait for removing values from single-version storage.
Provided Methods§
Sourcefn unset(&mut self, key: &EncodedKey, values: EncodedValues) -> Result<()>
fn unset(&mut self, key: &EncodedKey, values: EncodedValues) -> Result<()>
Unset a key, preserving the deleted values for CDC and metrics.
Sourcefn remove(&mut self, key: &EncodedKey) -> Result<()>
fn remove(&mut self, key: &EncodedKey) -> Result<()>
Remove a key without preserving the deleted values.