Obtain the module associated with this database. `None` if the database is not yet fully initialized. Note that a `Some` result may yield an empty slice.
(&self)
| 445 | /// `None` if the database is not yet fully initialized. |
| 446 | /// Note that a `Some` result may yield an empty slice. |
| 447 | pub fn program(&self) -> Result<Option<Program>, DBError> { |
| 448 | Ok(self.with_read_only(Workload::Internal, |tx| self.inner.program(tx))?) |
| 449 | } |
| 450 | |
| 451 | /// Read the set of clients currently connected to the database. |
| 452 | pub fn connected_clients(&self) -> Result<ConnectedClients, DBError> { |
no test coverage detected