pub trait Exist<K, V>: StorageBackend {
    fn exist(&self, key: &K) -> Result<bool, Self::Error>;
}
Expand description

Exist<K, V> trait extends the StorageBackend with exist operation for the (key: K, value: V) pair; therefore, it should be explicitly implemented for the corresponding StorageBackend.

Required Methods

Checks if a value exists in the storage for the given key.

Implementors