Trait taple_core::DatabaseManager
source · pub trait DatabaseManager<C>: Sync + Sendwhere
C: DatabaseCollection,{
// Required methods
fn default() -> Self;
fn create_collection(&self, identifier: &str) -> C;
}
Expand description
Trait to define a database compatible with Taple
Required Methods§
sourcefn default() -> Self
fn default() -> Self
Default constructor for the database manager. Is is mainly used for the battery test