pub(crate) fn has_uninitialized_database(&self, name: &DatabaseName<'_>) -> bool {
        let state = self.state.read().expect("mutex poisoned");
        state
            .databases
            .get(name)
            .map(|db_state| !db_state.is_initialized())
            .unwrap_or(false)
    }
/// Check if there is a database with the given name that is registered but is uninitialized.
Check if there is a database with the given name that is registered but is uninitialized.
Check if there is a database with the given name that is registered but is uninitialized .
pub(crate) fn has_uninitialized_database(&self, name: &DatabaseName<'_>) -> bool {
        let state = self.state.read().expect("mutex poisoned");
        state
            .databases
            .get(name)
            .map(|db_state| !db_state.is_initialized())
            .unwrap_or(false)
    }
pub ( crate ) fn has_uninitialized_database ( & self , name : & DatabaseName < ' _ > ) -> bool { let state = self . state . read ( ) . expect ( " " ) ; state . databases . get ( name ) . map ( | db_state | ! db_state . is_initialized ( ) ) . unwrap_or ( false ) }
Check if there is a database with the given name that is registered but is uninitialized.
Check if there is a database with the given name that is registered but is uninitialized .
&self
name
&DatabaseName<'_>
&self
name
&DatabaseName<'_>