Trait flechasdb::asyncdb::stored::LoadDatabase
source · pub trait LoadDatabase<T, FS> {
// Required method
fn load_database<'async_trait, P>(
fs: FS,
path: P
) -> Pin<Box<dyn Future<Output = Result<Database<T, FS>, Error>> + Send + 'async_trait>>
where T: Send,
FS: Send,
P: Into<String> + Send + 'async_trait;
}Expand description
Capability of loading a database.
Supposed to be specialized for a specific Database.