(&self, table_name: &str)
| 259 | } |
| 260 | |
| 261 | async fn open_table(&self, table_name: &str) -> Result<Table> { |
| 262 | self.db |
| 263 | .open_table(table_name) |
| 264 | .execute() |
| 265 | .await |
| 266 | .with_context(|| format!("failed to open comments table {table_name}")) |
| 267 | } |
| 268 | |
| 269 | async fn tasks_table(&self) -> Result<Table> { |
| 270 | self.open_table(&self.tasks_table).await |
no test coverage detected