pub struct LspResponder;
Expand description
The LSP service is split into two parts:
- The server, which handles incoming requests from the IDE
- The responder, which sends out results when they’re ready The server sends messages to the task manager for work that needs to be done. The responder receives messages from the task manager for work that has been accomplished.
Trait Implementations§
Source§impl Actor for LspResponder
impl Actor for LspResponder
Source§fn receive_messages(&mut self, messages: &mut VecDeque<Self::InMessage>)
fn receive_messages(&mut self, messages: &mut VecDeque<Self::InMessage>)
Receive messages from the task manager that contain the results of a given task. This allows us to repond to the IDE in an orderly manner.
type InMessage = LspResponse
Auto Trait Implementations§
impl Freeze for LspResponder
impl RefUnwindSafe for LspResponder
impl Send for LspResponder
impl Sync for LspResponder
impl Unpin for LspResponder
impl UnwindSafe for LspResponder
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