(self: &Arc<Self>)
| 1238 | } |
| 1239 | |
| 1240 | pub async fn shrink_database(self: &Arc<Self>) -> Result<()> { |
| 1241 | let _: bool = self.call("shrinkDatabase", vec![], "/ok", true).await?; |
| 1242 | Ok(()) |
| 1243 | } |
| 1244 | |
| 1245 | pub async fn connect(self: &Arc<Self>) -> Result<()> { |
| 1246 | let mut tls_config = TlsConnector::builder(); |