(&self, msg: serde_json::Value)
| 557 | } |
| 558 | |
| 559 | pub async fn do_update_message(&self, msg: serde_json::Value) -> Result<(), ToolError> { |
| 560 | if let Some(ref callback) = self.update_message { |
| 561 | callback(msg).await |
| 562 | } else { |
| 563 | Ok(()) |
| 564 | } |
| 565 | } |
| 566 | |
| 567 | pub fn with_lsp_touch_file<F, Fut>(mut self, callback: F) -> Self |
| 568 | where |
no outgoing calls
no test coverage detected