Skip to main content

SingleVersionRemove

Trait SingleVersionRemove 

Source
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§

Source

fn unset(&mut self, key: &EncodedKey, values: EncodedValues) -> Result<()>

Unset a key, preserving the deleted values for CDC and metrics.

Source

fn remove(&mut self, key: &EncodedKey) -> Result<()>

Remove a key without preserving the deleted values.

Implementors§