fn commit_db(&self, db_state: Arc<DatabaseState>) {
        let mut state = self.state.write().expect("mutex poisoned");
        let name = db_state.db_name();
        state.databases.insert(name.clone(), db_state);
        state.reservations.remove(&name);
    }
/// Commit new or unchanged database state.
Commit new or unchanged database state.
Commit new or unchanged database state .
fn commit_db(&self, db_state: Arc<DatabaseState>) {
        let mut state = self.state.write().expect("mutex poisoned");
        let name = db_state.db_name();
        state.databases.insert(name.clone(), db_state);
        state.reservations.remove(&name);
    }
fn commit_db ( & self , db_state : Arc < DatabaseState > ) { let mut state = self . state . write ( ) . expect ( " " ) ; let name = db_state . db_name ( ) ; state . databases . insert ( name . clone ( ) , db_state ) ; state . reservations . remove ( & name ) ; }
Commit new or unchanged database state.
Commit new or unchanged database state .
&self
db_state
Arc<DatabaseState>
&self
db_state
Arc<DatabaseState>