Explicitly close the database connection. See [`Self::close_by_ref`] for usage with references.
(self)
| 478 | /// Explicitly close the database connection. |
| 479 | /// See [`Self::close_by_ref`] for usage with references. |
| 480 | pub async fn close(self) -> Result<(), DbErr> { |
| 481 | self.close_by_ref().await |
| 482 | } |
| 483 | |
| 484 | /// Explicitly close the database connection |
| 485 | pub async fn close_by_ref(&self) -> Result<(), DbErr> { |
nothing calls this directly
no test coverage detected