Skip to main content

SingleVersionContains

Trait SingleVersionContains 

Source
pub trait SingleVersionContains: Send + Sync {
    // Required method
    fn contains(&self, key: &EncodedKey) -> Result<bool>;
}
Expand description

Trait for checking key existence in single-version storage.

Required Methods§

Source

fn contains(&self, key: &EncodedKey) -> Result<bool>

Check if a key exists.

Implementors§