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)>),
}
Responses back to the LSP services from
the query system.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static