(&self, id: u32)
| 127 | } |
| 128 | |
| 129 | async fn get_context(&self, id: u32) -> Result<deltachat::context::Context> { |
| 130 | self.get_context_opt(id) |
| 131 | .await |
| 132 | .ok_or_else(|| anyhow!("account with id {id} not found")) |
| 133 | } |
| 134 | |
| 135 | async fn with_state<F, T>(&self, id: u32, with_state: F) -> T |
| 136 | where |
no test coverage detected