pub struct StubLspService;Implementations§
Trait Implementations§
Source§impl LspService for StubLspService
impl LspService for StubLspService
fn start_server<'life0, 'life1, 'async_trait>(
&'life0 self,
language: &'life1 str,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn diagnostics<'life0, 'life1, 'async_trait>(
&'life0 self,
_file_path: &'life1 str,
) -> Pin<Box<dyn Future<Output = AppResult<Vec<Diagnostic>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn hover<'life0, 'life1, 'async_trait>(
&'life0 self,
_file_path: &'life1 str,
_line: u32,
_col: u32,
) -> Pin<Box<dyn Future<Output = AppResult<Option<HoverInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn goto_definition<'life0, 'life1, 'async_trait>(
&'life0 self,
_file_path: &'life1 str,
_line: u32,
_col: u32,
) -> Pin<Box<dyn Future<Output = AppResult<Option<Location>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn references<'life0, 'life1, 'async_trait>(
&'life0 self,
_file_path: &'life1 str,
_line: u32,
_col: u32,
) -> Pin<Box<dyn Future<Output = AppResult<Vec<Location>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for StubLspService
impl RefUnwindSafe for StubLspService
impl Send for StubLspService
impl Sync for StubLspService
impl Unpin for StubLspService
impl UnsafeUnpin for StubLspService
impl UnwindSafe for StubLspService
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