pub trait Request {
type Params: DeserializeOwned + Serialize;
type Result: DeserializeOwned + Serialize;
const METHOD: &'static str;
}
Required Associated Types§
type Params: DeserializeOwned + Serialize
type Result: DeserializeOwned + Serialize
Required Associated Constants§
Implementors§
§impl Request for ApplyWorkspaceEdit
impl Request for ApplyWorkspaceEdit
type Params = ApplyWorkspaceEditParams
type Result = ApplyWorkspaceEditResponse
const METHOD: &'static str = "workspace/applyEdit"
§impl Request for CallHierarchyIncomingCalls
impl Request for CallHierarchyIncomingCalls
§impl Request for CallHierarchyOutgoingCalls
impl Request for CallHierarchyOutgoingCalls
§impl Request for CallHierarchyPrepare
impl Request for CallHierarchyPrepare
§impl Request for CodeActionRequest
impl Request for CodeActionRequest
§impl Request for CodeActionResolveRequest
impl Request for CodeActionResolveRequest
type Params = CodeAction
type Result = CodeAction
const METHOD: &'static str = "codeAction/resolve"
§impl Request for CodeLensRefresh
impl Request for CodeLensRefresh
§impl Request for CodeLensRequest
impl Request for CodeLensRequest
§impl Request for CodeLensResolve
impl Request for CodeLensResolve
§impl Request for ColorPresentationRequest
impl Request for ColorPresentationRequest
§impl Request for Completion
impl Request for Completion
type Params = CompletionParams
type Result = Option<CompletionResponse>
const METHOD: &'static str = "textDocument/completion"
§impl Request for DocumentColor
impl Request for DocumentColor
§impl Request for DocumentDiagnosticRequest
impl Request for DocumentDiagnosticRequest
type Params = DocumentDiagnosticParams
type Result = DocumentDiagnosticReportResult
const METHOD: &'static str = "textDocument/diagnostic"
§impl Request for DocumentHighlightRequest
impl Request for DocumentHighlightRequest
§impl Request for DocumentLinkRequest
impl Request for DocumentLinkRequest
§impl Request for DocumentLinkResolve
impl Request for DocumentLinkResolve
type Params = DocumentLink
type Result = DocumentLink
const METHOD: &'static str = "documentLink/resolve"
§impl Request for DocumentSymbolRequest
impl Request for DocumentSymbolRequest
type Params = DocumentSymbolParams
type Result = Option<DocumentSymbolResponse>
const METHOD: &'static str = "textDocument/documentSymbol"
§impl Request for ExecuteCommand
impl Request for ExecuteCommand
§impl Request for FoldingRangeRequest
impl Request for FoldingRangeRequest
§impl Request for Formatting
impl Request for Formatting
§impl Request for GotoDeclaration
impl Request for GotoDeclaration
The goto declaration request is sent from the client to the server to resolve the declaration location of a symbol at a given text document position.