Trait molc::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.

Object Safety§

This trait is not object safe.

Implementors§