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§
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, )
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.