Trait yttrium_key_base::databases::DatabaseManager[][src]

pub trait DatabaseManager<T: Database> {
    fn get_database(&mut self, name: &str) -> T;
fn remove_database(&mut self, name: &str);
fn clear_database(&mut self, name: &str); }

Trait for accessing databases

Required methods

fn get_database(&mut self, name: &str) -> T[src]

Gets the database from the manager, creating it if it does not exist

fn remove_database(&mut self, name: &str)[src]

Deletes a database from the manager

fn clear_database(&mut self, name: &str)[src]

Removes all entries from a database

Loading content...


impl DatabaseManager<Placeholder> for Placeholder[src]

Loading content...