pub enum LspResponse {
Type(TaskId, String),
Range(TaskId, Url, Range),
Ranges(TaskId, Vec<(Url, Range)>),
WorkspaceEdits(TaskId, Vec<(Url, Range, String)>),
Completions(TaskId, Vec<(String, String)>),
Initialized(TaskId),
Nothing(TaskId),
Diagnostics(Url, Vec<(Range, String)>),
}Expand description
Responses back to the LSP services from the query system.
Variants§
Type(TaskId, String)
Range(TaskId, Url, Range)
Ranges(TaskId, Vec<(Url, Range)>)
WorkspaceEdits(TaskId, Vec<(Url, Range, String)>)
Completions(TaskId, Vec<(String, String)>)
Initialized(TaskId)
Nothing(TaskId)
Diagnostics(Url, Vec<(Range, String)>)
Auto Trait Implementations§
impl Freeze for LspResponse
impl RefUnwindSafe for LspResponse
impl Send for LspResponse
impl Sync for LspResponse
impl Unpin for LspResponse
impl UnsafeUnpin for LspResponse
impl UnwindSafe for LspResponse
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