Trait async_lsp::LspService
source · pub trait LspService: Service<AnyRequest, Response = JsonValue, Error = ResponseError> {
// Required methods
fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>;
fn emit(&mut self, event: AnyEvent) -> ControlFlow<Result<()>>;
}