LangServer

Trait LangServer 

Source
pub trait LangServer {
    // Required method
    fn dispatch(&mut self, msg: impl Into<Value>) -> Result<()>;
}

Required Methods§

Source

fn dispatch(&mut self, msg: impl Into<Value>) -> Result<()>

Receive and process a message from the client. Output should be returned to the channel.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§