KvDatabase

Trait KvDatabase 

Source
pub trait KvDatabase { }
Expand description

Marker trait representing a key-value database.

This trait does not define any methods and serves as a placeholder for types that represent a database in this abstraction. Implementing this trait indicates that a type can function as a database within the key-value store system.

Implementors§

Source§

impl KvDatabase for Database

Marks LMDB’s Database type as implementing the KvDatabase trait.

This allows LMDB’s native database type to integrate with the KvDatabase trait, enabling it to be used seamlessly with the broader key-value store interface.