pub struct SpawnLspClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for SpawnLspClient
impl Default for SpawnLspClient
Source§impl LspClient for SpawnLspClient
impl LspClient for SpawnLspClient
fn ensure_server<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
language: &'life1 str,
root: &'life2 str,
profile: &'life3 LspServerProfile,
) -> Pin<Box<dyn Future<Output = Result<ServerHandle, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn hover<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
handle: &'life1 ServerHandle,
path: &'life2 str,
pos: Position1,
cancel: Receiver<bool>,
) -> Pin<Box<dyn Future<Output = Result<Option<LspHoverResult>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn definition<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
handle: &'life1 ServerHandle,
path: &'life2 str,
pos: Position1,
cancel: Receiver<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LspLocation>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn references<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
handle: &'life1 ServerHandle,
path: &'life2 str,
pos: Position1,
cancel: Receiver<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LspLocation>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn implementation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
handle: &'life1 ServerHandle,
path: &'life2 str,
pos: Position1,
cancel: Receiver<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LspLocation>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn document_symbol<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
handle: &'life1 ServerHandle,
path: &'life2 str,
cancel: Receiver<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LspSymbolInfo>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn workspace_symbol<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
handle: &'life1 ServerHandle,
query: &'life2 str,
cancel: Receiver<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LspSymbolInfo>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn close_session<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for SpawnLspClient
impl !RefUnwindSafe for SpawnLspClient
impl Send for SpawnLspClient
impl Sync for SpawnLspClient
impl Unpin for SpawnLspClient
impl UnsafeUnpin for SpawnLspClient
impl !UnwindSafe for SpawnLspClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more