pub trait StoreEntry<'a, K, V> {
// Required methods
fn is_occupied(&self) -> bool;
fn is_vacant(&self) -> bool;
}Expand description
The StoreEntry trait establishes a common interface for all entries within a
key-value store. These types enable in-place manipulation of key-value pairs by allowing
for keys to point to empty or vacant slots within the store.
Required Methods§
Sourcefn is_occupied(&self) -> bool
fn is_occupied(&self) -> bool
checks if the entry is occupied