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§
Object Safety§
This trait is not object safe.
Implementors§
source§impl Request for ApplyWorkspaceEdit
impl Request for ApplyWorkspaceEdit
type Params = ApplyWorkspaceEditParams
type Result = ApplyWorkspaceEditResponse
const METHOD: &'static str = "workspace/applyEdit"
source§impl Request for CallHierarchyIncomingCalls
impl Request for CallHierarchyIncomingCalls
source§impl Request for CallHierarchyOutgoingCalls
impl Request for CallHierarchyOutgoingCalls
source§impl Request for CallHierarchyPrepare
impl Request for CallHierarchyPrepare
source§impl Request for CodeActionRequest
impl Request for CodeActionRequest
source§impl Request for CodeActionResolveRequest
impl Request for CodeActionResolveRequest
type Params = CodeAction
type Result = CodeAction
const METHOD: &'static str = "codeAction/resolve"
source§impl Request for CodeLensRefresh
impl Request for CodeLensRefresh
source§impl Request for CodeLensRequest
impl Request for CodeLensRequest
source§impl Request for CodeLensResolve
impl Request for CodeLensResolve
source§impl Request for ColorPresentationRequest
impl Request for ColorPresentationRequest
source§impl Request for Completion
impl Request for Completion
source§impl Request for DocumentColor
impl Request for DocumentColor
source§impl Request for DocumentHighlightRequest
impl Request for DocumentHighlightRequest
source§impl Request for DocumentLinkRequest
impl Request for DocumentLinkRequest
source§impl Request for DocumentLinkResolve
impl Request for DocumentLinkResolve
type Params = DocumentLink
type Result = DocumentLink
const METHOD: &'static str = "documentLink/resolve"
source§impl Request for DocumentSymbolRequest
impl Request for DocumentSymbolRequest
source§impl Request for ExecuteCommand
impl Request for ExecuteCommand
source§impl Request for FoldingRangeRequest
impl Request for FoldingRangeRequest
source§impl Request for Formatting
impl Request for Formatting
source§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.