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§
Sourcefn contains(&self, key: &EncodedKey) -> Result<bool>
fn contains(&self, key: &EncodedKey) -> Result<bool>
Check if a key exists.