pub(crate) fn db_initialized(&self, name: &DatabaseName<'_>) -> Option<Arc<Db>> {
        let state = self.state.read().expect("mutex poisoned");
        state
            .databases
            .get(name)
            .map(|db_state| db_state.db_initialized())
            .flatten()
    }
/// Get database, if registered and fully initialized.
Get database, if registered and fully initialized.
Get database if registered and fully initialized .
pub(crate) fn db_initialized(&self, name: &DatabaseName<'_>) -> Option<Arc<Db>> {
        let state = self.state.read().expect("mutex poisoned");
        state
            .databases
            .get(name)
            .map(|db_state| db_state.db_initialized())
            .flatten()
    }
pub ( crate ) fn db_initialized ( & self , name : & DatabaseName < ' _ > ) -> Option < Arc < Db > > { let state = self . state . read ( ) . expect ( " " ) ; state . databases . get ( name ) . map ( | db_state | db_state . db_initialized ( ) ) . flatten ( ) }
Get database, if registered and fully initialized.
Get database if registered and fully initialized .
&self
name
&DatabaseName<'_>
&self
name
&DatabaseName<'_>