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<()>>;
}

Required Methods§

source

fn notify(&mut self, notif: AnyNotification) -> ControlFlow<Result<()>>

source

fn emit(&mut self, event: AnyEvent) -> ControlFlow<Result<()>>

Implementors§