pub trait LoadDatabase<T, FS> {
    // Required method
    fn load_database<P>(fs: FS, path: P) -> Result<Database<T, FS>, Error>
       where P: AsRef<str>;
}
Expand description

Capability of loading a database.

Supposed to be specifalized for a specific Database.

Required Methods§

source

fn load_database<P>(fs: FS, path: P) -> Result<Database<T, FS>, Error>where P: AsRef<str>,

Loads a database.

Implementors§

source§

impl<FS> LoadDatabase<f32, FS> for Database<f32, FS>where FS: FileSystem,