[][src]Trait lsp_types::request::Request

pub trait Request {
    type Params: DeserializeOwned + Serialize;
    type Result: DeserializeOwned + Serialize;

    const METHOD: &'static str;
}

Associated Types

Loading content...

Associated Constants

const METHOD: &'static str

Loading content...

Implementors

impl Request for ApplyWorkspaceEdit[src]

impl Request for CodeActionRequest[src]

impl Request for CodeLensRequest[src]

impl Request for CodeLensResolve[src]

type Params = CodeLens

type Result = CodeLens

impl Request for ColorPresentationRequest[src]

impl Request for Completion[src]

impl Request for DocumentColor[src]

impl Request for DocumentHighlightRequest[src]

impl Request for DocumentLinkRequest[src]

impl Request for DocumentLinkResolve[src]

impl Request for DocumentSymbolRequest[src]

impl Request for ExecuteCommand[src]

impl Request for FoldingRangeRequest[src]

impl Request for Formatting[src]

impl Request for GotoDeclaration[src]

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.

impl Request for GotoDefinition[src]

impl Request for GotoImplementation[src]

impl Request for GotoTypeDefinition[src]

impl Request for HoverRequest[src]

type Params = HoverParams

type Result = Option<Hover>

impl Request for Initialize[src]

impl Request for OnTypeFormatting[src]

impl Request for PrepareRenameRequest[src]

impl Request for RangeFormatting[src]

impl Request for References[src]

impl Request for RegisterCapability[src]

type Params = RegistrationParams

type Result = ()

impl Request for Rename[src]

impl Request for ResolveCompletionItem[src]

impl Request for SelectionRangeRequest[src]

impl Request for ShowMessageRequest[src]

impl Request for Shutdown[src]

type Params = ()

type Result = ()

impl Request for SignatureHelpRequest[src]

impl Request for UnregisterCapability[src]

type Params = UnregistrationParams

type Result = ()

impl Request for WillSaveWaitUntil[src]

impl Request for WorkDoneProgressCreate[src]

impl Request for WorkspaceConfiguration[src]

impl Request for WorkspaceFoldersRequest[src]

type Params = ()

type Result = Option<Vec<WorkspaceFolder>>

impl Request for WorkspaceSymbol[src]

Loading content...