Explicitly close the MySQL connection. See [`Self::close_by_ref`] for usage with references.
(self)
| 245 | /// Explicitly close the MySQL connection. |
| 246 | /// See [`Self::close_by_ref`] for usage with references. |
| 247 | pub async fn close(self) -> Result<(), DbErr> { |
| 248 | self.close_by_ref().await |
| 249 | } |
| 250 | |
| 251 | /// Explicitly close the MySQL connection |
| 252 | pub async fn close_by_ref(&self) -> Result<(), DbErr> { |