Trait FLAMSLSPServer

Source
pub trait FLAMSLSPServer: 'static {
    // Required methods
    fn client_mut(&mut self) -> &mut ClientSocket;
    fn client(&self) -> &ClientSocket;
    fn state(&self) -> &LSPState;

    // Provided methods
    fn initialized(&mut self) { ... }
    fn initialize<I: Iterator<Item = (String, Url)> + Send + 'static>(
        &mut self,
        _workspaces: I,
    ) { ... }
}

Required Methods§

Source

fn client_mut(&mut self) -> &mut ClientSocket

Source

fn client(&self) -> &ClientSocket

Source

fn state(&self) -> &LSPState

Provided Methods§

Source

fn initialized(&mut self)

Source

fn initialize<I: Iterator<Item = (String, Url)> + Send + 'static>( &mut self, _workspaces: I, )

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§